diff options
| author | bozo.kopic <bozo.kopic@gmail.com> | 2019-04-08 22:47:10 +0200 |
|---|---|---|
| committer | bozo.kopic <bozo.kopic@gmail.com> | 2019-04-08 22:47:10 +0200 |
| commit | f53913389fa435d26307075bf5dab3675b1f17c4 (patch) | |
| tree | f70d5fd95070b6f1f5f427d2d43da7f77d000efa /webpack.config.js | |
| parent | 07dae145e814856c8f38f407d91a033b233c081d (diff) | |
dependencies update & minor fixes
Diffstat (limited to 'webpack.config.js')
| -rw-r--r-- | webpack.config.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/webpack.config.js b/webpack.config.js index 08daa57..71d15e5 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,10 +1,9 @@ const path = require('path'); -const fs = require('fs'); -const webpack = require('webpack'); const CopyWebpackPlugin = require('copy-webpack-plugin'); module.exports = { + mode: 'none', entry: { main: '.' + path.sep + path.join('src_js', 'opcut', 'main') }, @@ -17,7 +16,7 @@ module.exports = { rules: [ { test: /\.scss$/, - use: ["style-loader", "css-loader?minimize=true", "resolve-url-loader", "sass-loader?sourceMap"] + use: ["style-loader", "css-loader", "resolve-url-loader", "sass-loader?sourceMap"] }, { test: /\.ttf$/, @@ -37,5 +36,6 @@ module.exports = { plugins: [ new CopyWebpackPlugin([{from: 'src_web/static'}]) ], - devtool: 'source-map' + devtool: 'source-map', + stats: 'errors-only' }; |
