Skip to content

Instantly share code, notes, and snippets.

@stephencookdev
Last active March 5, 2018 11:59
Show Gist options
  • Save stephencookdev/43349b59d57eea4b221b3e4904c532ec to your computer and use it in GitHub Desktop.
Save stephencookdev/43349b59d57eea4b221b3e4904c532ec to your computer and use it in GitHub Desktop.
Example webpack config (pre SMP)
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