We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d40d16b commit 125e299Copy full SHA for 125e299
webpack.config.js
@@ -8,11 +8,6 @@ const extract = new ExtractTextPlugin("style.min.css")
8
9
const { WebpackConfig, templateContent } = require("@saber2pr/webpack-configer")
10
11
-const cdn = '//cdn.jsdelivr.net/gh'
12
-const username = 'saber2pr'
13
-const pages_branch = 'gh-pages'
14
-const repo = 'editor'
15
-
16
module.exports = WebpackConfig({
17
entry: {
18
shouldPC: "./src/external/shouldPC.ts",
@@ -27,10 +22,6 @@ module.exports = WebpackConfig({
27
22
path: path.join(__dirname, "build"),
28
23
library: "[name]",
29
24
libraryTarget: "global",
30
- publicPath:
31
- process.env.NODE_ENV === 'production'
32
- ? `${cdn}/${username}/${repo}@${pages_branch}/`
33
- : '/',
34
25
},
35
26
module: {
36
rules: [
0 commit comments