提交 861af5d1 编写于 作者: 璃白.'s avatar 璃白. 🌻

🔨 remove module

上级 b3c7e297
...@@ -2,19 +2,19 @@ const path = require("path"); ...@@ -2,19 +2,19 @@ const path = require("path");
const VueLoaderPlugin = require("vue-loader/lib/plugin"); const VueLoaderPlugin = require("vue-loader/lib/plugin");
module.exports = { module.exports = {
entry: path.resolve(__dirname, "./src/main.js"), entry: path.resolve(__dirname, "./src/main.js"),
experiments: { // experiments: {
outputModule: true // outputModule: true
}, // },
output: { output: {
filename: "markdown-editor.js", filename: "markdown-editor.js",
path: path.resolve(__dirname, "public"), path: path.resolve(__dirname, "public"),
library: { // library: {
type: "module" // type: "module"
} // }
}, },
devServer: { devServer: {
contentBase: path.resolve(__dirname, "public"), contentBase: path.resolve(__dirname, "public"),
host: "0.0.0.0", host: "127.0.0.1",
port: "80", port: "80",
// port: 443, // port: 443,
// https: true, // https: true,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册