|
@@ -1,5 +1,3 @@
|
|
|
-const { merge } = require("webpack-merge");
|
|
|
-
|
|
|
const prodConfig = require("./webpack.prod.config");
|
|
|
const devConfig = require("./webpack.dev.config");
|
|
|
|
|
@@ -11,6 +9,7 @@ const outputFile = isProd
|
|
|
: "excalidraw-with-preact.development";
|
|
|
|
|
|
const preactWebpackConfig = {
|
|
|
+ ...config,
|
|
|
entry: {
|
|
|
[outputFile]: "./entry.js",
|
|
|
},
|
|
@@ -30,4 +29,4 @@ const preactWebpackConfig = {
|
|
|
},
|
|
|
},
|
|
|
};
|
|
|
-module.exports = merge(config, preactWebpackConfig);
|
|
|
+module.exports = preactWebpackConfig;
|