diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2021-12-19 02:38:15 +0100 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2021-12-19 02:38:15 +0100 |
| commit | b7883de47e05d0b52ea4e04440f4894a0a9032a1 (patch) | |
| tree | faee792c03a4bd456fb90588eee9ca24c88bee6c /pending/webpack.config.js | |
| parent | 8e8a381c57298e1caa992373d1081a64d5924de6 (diff) | |
server error messages improvement
Diffstat (limited to 'pending/webpack.config.js')
| -rw-r--r-- | pending/webpack.config.js | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/pending/webpack.config.js b/pending/webpack.config.js deleted file mode 100644 index 57d31c1..0000000 --- a/pending/webpack.config.js +++ /dev/null @@ -1,39 +0,0 @@ -const path = require('path'); -const CopyWebpackPlugin = require('copy-webpack-plugin'); - - -module.exports = { - mode: 'none', - entry: '.' + path.sep + path.join('src_js', 'opcut', 'main'), - output: { - filename: 'main.js', - path: path.join(__dirname, 'build', 'js') - }, - module: { - rules: [ - { - test: /\.scss$/, - use: ["style-loader", "css-loader", "resolve-url-loader", "sass-loader?sourceMap"] - }, - { - test: /\.woff2$/, - use: "file-loader?name=fonts/[name].[ext]" - } - ] - }, - resolve: { - modules: [ - path.join(__dirname, 'src_js'), - path.join(__dirname, 'src_scss'), - path.join(__dirname, 'node_modules') - ] - }, - watchOptions: { - ignored: /node_modules/ - }, - plugins: [ - new CopyWebpackPlugin([{from: 'src_web'}]) - ], - devtool: 'source-map', - stats: 'errors-only' -}; |
