Skip to content

Instantly share code, notes, and snippets.

@dutchmartin
Created December 24, 2018 10:58

Revisions

  1. Martijn Groeneveldt created this gist Dec 24, 2018.
    21 changes: 21 additions & 0 deletions webpack.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@
    module.exports = {
    mode: "production",
    devtool: false,
    entry: {

    },
    output: {

    },
    optimization: {
    minimize: true
    },
    plugins: [
    new webpack.DefinePlugin( {
    "process.env": {
    NODE_ENV: JSON.stringify( "production" ),
    }
    } ),
    new CaseSensitivePathsPlugin(),
    ],
    };