From 861af5d1a310ee3197b5e8c6641a56e443ee56b5 Mon Sep 17 00:00:00 2001 From: layyback <505187749@qq.com> Date: Wed, 30 Nov 2022 17:18:49 +0800 Subject: [PATCH] :hammer: remove module --- webpack.config.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index e8ee15a..b4cdd87 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -2,19 +2,19 @@ const path = require("path"); const VueLoaderPlugin = require("vue-loader/lib/plugin"); module.exports = { entry: path.resolve(__dirname, "./src/main.js"), - experiments: { - outputModule: true - }, + // experiments: { + // outputModule: true + // }, output: { filename: "markdown-editor.js", path: path.resolve(__dirname, "public"), - library: { - type: "module" - } + // library: { + // type: "module" + // } }, devServer: { contentBase: path.resolve(__dirname, "public"), - host: "0.0.0.0", + host: "127.0.0.1", port: "80", // port: 443, // https: true, -- GitLab