Skip to content

Commit 978b759

Browse files
committed
reenabled compile of js-files
1 parent 5bd9533 commit 978b759

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.gitignore

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
node_modules/
22
dev/
3-
bundle.js
4-
bundle.js.map
5-
bundle.css
6-
bundle.css.map
73
/factorio-server-manager*
84
/factorio_server_manager*
95
auth.leveldb*
@@ -18,3 +14,5 @@ factorio.auth
1814
/pkg/
1915
mix-manifest.json
2016
/app/**/vendor/
17+
/app/*.js*
18+
/app/*.css*

webpack.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ const FixStyleOnlyEntriesPlugin = require("webpack-fix-style-only-entries");
1414

1515
module.exports = {
1616
entry: {
17-
// js: './ui/index.js',
18-
sass: './ui/index.scss'
17+
bundle: './ui/index.js',
18+
style: './ui/index.scss'
1919
},
2020
output: {
21-
filename: 'bundle.js',
21+
filename: '[name].js',
2222
path: path.resolve(__dirname, 'app'),
2323
publicPath: ""
2424
},
@@ -99,7 +99,7 @@ module.exports = {
9999
plugins: [
100100
new FixStyleOnlyEntriesPlugin(),
101101
new MiniCssExtractPlugin({
102-
filename: "bundle.css"
102+
filename: "[name].css"
103103
})
104104
]
105105
}

0 commit comments

Comments
 (0)