Skip to content

Commit 125e299

Browse files
authored
Update webpack.config.js
1 parent d40d16b commit 125e299

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

webpack.config.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@ const extract = new ExtractTextPlugin("style.min.css")
88

99
const { WebpackConfig, templateContent } = require("@saber2pr/webpack-configer")
1010

11-
const cdn = '//cdn.jsdelivr.net/gh'
12-
const username = 'saber2pr'
13-
const pages_branch = 'gh-pages'
14-
const repo = 'editor'
15-
1611
module.exports = WebpackConfig({
1712
entry: {
1813
shouldPC: "./src/external/shouldPC.ts",
@@ -27,10 +22,6 @@ module.exports = WebpackConfig({
2722
path: path.join(__dirname, "build"),
2823
library: "[name]",
2924
libraryTarget: "global",
30-
publicPath:
31-
process.env.NODE_ENV === 'production'
32-
? `${cdn}/${username}/${repo}@${pages_branch}/`
33-
: '/',
3425
},
3526
module: {
3627
rules: [

0 commit comments

Comments
 (0)