Skip to content

Commit

Permalink
Update webpack.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Saber2pr authored Jul 24, 2021
1 parent d40d16b commit 125e299
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ const extract = new ExtractTextPlugin("style.min.css")

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

const cdn = '//cdn.jsdelivr.net/gh'
const username = 'saber2pr'
const pages_branch = 'gh-pages'
const repo = 'editor'

module.exports = WebpackConfig({
entry: {
shouldPC: "./src/external/shouldPC.ts",
Expand All @@ -27,10 +22,6 @@ module.exports = WebpackConfig({
path: path.join(__dirname, "build"),
library: "[name]",
libraryTarget: "global",
publicPath:
process.env.NODE_ENV === 'production'
? `${cdn}/${username}/${repo}@${pages_branch}/`
: '/',
},
module: {
rules: [
Expand Down

1 comment on commit 125e299

@vercel
Copy link

@vercel vercel bot commented on 125e299 Jul 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.