Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const ForceCaseSensitivityPlugin = require("force-case-sensitivity-webpack-plugin");
- const ManifestPlugin = require("webpack-manifest-plugin");
- const SpeedMeasurePlugin = require("speed-measure-webpack-plugin");
- const smp = new SpeedMeasurePlugin();
- module.exports = smp.wrap({
- 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()
- ]
- });
Add Comment
Please, Sign In to add comment