Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 3f927e2

Browse files
author
Nick Litwin
committed
Add back auth0 and try not mangling in webpack-config
1 parent 0204ad1 commit 3f927e2

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

app/services/services.module.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import angular from 'angular'
2-
// import Auth0 from 'auth0-js'
2+
import Auth0 from 'auth0-js'
33

44
(function() {
55
'use strict'
@@ -26,7 +26,7 @@ import angular from 'angular'
2626
domain: CONSTANTS.auth0Domain,
2727
clientID: CONSTANTS.clientId,
2828
sso: false
29-
}, require('auth0-js'))
29+
}, Auth0)
3030

3131
}])
3232
.factory('UserPrefStore', ['store', function(store) {

webpack.config.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
var webpack = require('webpack')
21
require('./node_modules/coffee-script/register')
32

43
if (process.env.TRAVIS_BRANCH == 'master') process.env.ENV = 'PROD'
@@ -16,10 +15,6 @@ var config = require('appirio-tech-webpack-config')({
1615
favicon: './assets/images/favicon.ico'
1716
})
1817

19-
config.plugins.push(new webpack.optimize.UglifyJsPlugin({
20-
mangle: false
21-
}))
22-
2318
if (process.env.TRAVIS_BRANCH) config.output.publicPath = process.env.ASSET_PREFIX
2419

2520
module.exports = config

0 commit comments

Comments
 (0)