diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2022-03-22 01:31:27 +0100 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2022-03-22 01:31:27 +0100 |
| commit | cc4ba3b063f14943579ffbfe416828590f70ae0a (patch) | |
| tree | af2127920fb57603206ca670beb63b5d58650fb8 /webpack.config.js | |
| parent | c594b1fca854a7b9fb73d854a9830143cd1032fc (diff) | |
WIP major rewrite
Diffstat (limited to 'webpack.config.js')
| -rw-r--r-- | webpack.config.js | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/webpack.config.js b/webpack.config.js deleted file mode 100644 index 097b089..0000000 --- a/webpack.config.js +++ /dev/null @@ -1,39 +0,0 @@ -var path = require('path'); - - -module.exports = [ - { - entry: { - main: '.' + path.sep + path.join('src_js', 'hatter', 'main') - }, - output: { - filename: '[name].js', - path: path.join(__dirname, 'build', 'jshatter') - }, - module: { - rules: [ - { - test: /\.scss$/, - use: ["style-loader", "css-loader", "resolve-url-loader", "sass-loader?sourceMap"] - }, - { - test: /node_modules.*\.(woff|woff2|ttf|eot|svg)$/, - use: "file-loader?name=fonts/[hash].[ext]" - } - ] - }, - resolve: { - modules: [ - path.join(__dirname, 'src_js'), - path.join(__dirname, 'src_web'), - path.join(__dirname, 'node_modules') - ] - }, - resolveLoader: { - alias: { - static: 'file-loader?context=src_web/static&name=[path][name].[ext]' - } - }, - devtool: 'source-map' - } -]; |
