diff options
| author | Robert | 2017-10-12 17:49:36 +0200 |
|---|---|---|
| committer | Robert | 2017-10-12 17:49:36 +0200 |
| commit | ddf6fd8be58417d3fd2496b0806c16cee256f159 (patch) | |
| tree | c0c6a5897d7cdb2f861427e6c7c47db461ef3c3a /config/webpack | |
| parent | b16f881a2d3ef116204579b1d050aa2be749d587 (diff) | |
| parent | 65e5ac79147b6c55b76bcabf741b326d31317bd2 (diff) | |
| download | chouette-core-ddf6fd8be58417d3fd2496b0806c16cee256f159.tar.bz2 | |
Merge branch 'master' of github.com:af83/stif-boiv
Diffstat (limited to 'config/webpack')
| -rw-r--r-- | config/webpack/dev.js | 4 | ||||
| -rw-r--r-- | config/webpack/environment.js | 4 | ||||
| -rw-r--r-- | config/webpack/production.js | 4 | ||||
| -rw-r--r-- | config/webpack/staging.js | 4 |
4 files changed, 10 insertions, 6 deletions
diff --git a/config/webpack/dev.js b/config/webpack/dev.js index 97b6a77ff..7703f8452 100644 --- a/config/webpack/dev.js +++ b/config/webpack/dev.js @@ -1,4 +1,6 @@ const environment = require('./environment') +const webpack = require('webpack') +const UglifyJsPlugin = require('uglify-js') environment.plugins.set( 'UglifyJs', @@ -9,4 +11,4 @@ environment.plugins.set( }) ) -module.exports = environment.toWebpackConfig()
\ No newline at end of file +module.exports = environment.toWebpackConfig() diff --git a/config/webpack/environment.js b/config/webpack/environment.js index ae1deb610..7a96539f1 100644 --- a/config/webpack/environment.js +++ b/config/webpack/environment.js @@ -1,6 +1,4 @@ const { environment } = require('@rails/webpacker') -const webpack = require('webpack') -const UglifyJsPlugin = require('uglify-js') const CleanWebpackPlugin = require('clean-webpack-plugin') let pathsToClean = [ @@ -33,4 +31,4 @@ environment.plugins.set( // jquery: "jquery/src/jquery", // } -module.exports = environment
\ No newline at end of file +module.exports = environment diff --git a/config/webpack/production.js b/config/webpack/production.js index 97b6a77ff..7703f8452 100644 --- a/config/webpack/production.js +++ b/config/webpack/production.js @@ -1,4 +1,6 @@ const environment = require('./environment') +const webpack = require('webpack') +const UglifyJsPlugin = require('uglify-js') environment.plugins.set( 'UglifyJs', @@ -9,4 +11,4 @@ environment.plugins.set( }) ) -module.exports = environment.toWebpackConfig()
\ No newline at end of file +module.exports = environment.toWebpackConfig() diff --git a/config/webpack/staging.js b/config/webpack/staging.js index 97b6a77ff..7703f8452 100644 --- a/config/webpack/staging.js +++ b/config/webpack/staging.js @@ -1,4 +1,6 @@ const environment = require('./environment') +const webpack = require('webpack') +const UglifyJsPlugin = require('uglify-js') environment.plugins.set( 'UglifyJs', @@ -9,4 +11,4 @@ environment.plugins.set( }) ) -module.exports = environment.toWebpackConfig()
\ No newline at end of file +module.exports = environment.toWebpackConfig() |
