Last active
March 5, 2018 11:59
-
-
Save stephencookdev/43349b59d57eea4b221b3e4904c532ec to your computer and use it in GitHub Desktop.
Example webpack config (pre SMP)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const ForceCaseSensitivityPlugin = require("force-case-sensitivity-webpack-plugin"); | |
const ManifestPlugin = require("webpack-manifest-plugin"); | |
module.exports = { | |
entry: { | |
app: ["./app.js"] | |
}, | |
output: "./public", | |
module: { | |
rules: [ | |
{ | |
test: /\.js$/, | |
use: [{ loader: "babel-loader" }] | |
}, | |
{ | |
test: /\.coffee$/, | |
use: [{ loader: "coffee-loader" }] | |
} | |
] | |
}, | |
plugins: [ | |
new ForceCaseSensitivityPlugin(), | |
new ManifestPlugin() | |
] | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment