Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

electron in webpack

const webpack = require("webpack");

module.exports = {
    plugins: [
        new webpack.ExternalsPlugin('commonjs', [
            'electron'
        ])
    ]
    ...
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #electron #webpack
ADD COMMENT
Topic
Name
8+7 =