Massive revamping for Rails 8 and Zurb
This commit is contained in:
parent
7f9502fdfb
commit
b5534b1900
89 changed files with 12555 additions and 736 deletions
21
webpack.config.js
Normal file
21
webpack.config.js
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
const path = require("path")
|
||||
const webpack = require("webpack")
|
||||
|
||||
module.exports = {
|
||||
mode: "production",
|
||||
devtool: "source-map",
|
||||
entry: {
|
||||
application: "./app/javascript/application.js"
|
||||
},
|
||||
output: {
|
||||
filename: "[name].js",
|
||||
sourceMapFilename: "[file].map",
|
||||
chunkFormat: "module",
|
||||
path: path.resolve(__dirname, "app/assets/builds"),
|
||||
},
|
||||
plugins: [
|
||||
new webpack.optimize.LimitChunkCountPlugin({
|
||||
maxChunks: 1
|
||||
})
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue