module.exports = {
mode: dev ? "development" : "production",context: path.join( __dirname, "" ),devtool: dev ? "none" : "source-map",entry: { //babel-polyfill 是什么意思? app: [ "babel-polyfill", "./src/client.js" ], },resolve: { modules: [ path.resolve( "./src" ), "node_modules", ], },output: { path: path.resolve( __dirname, "dist" ), filename: "[name].bundle.js", }, plugins,
};
江户川乱折腾
相关分类