Skip to content

Commit

Permalink
Removed dep: terser
Browse files Browse the repository at this point in the history
  • Loading branch information
mbnuqw committed Jul 22, 2022
1 parent e275f8d commit add277d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 112 deletions.
9 changes: 0 additions & 9 deletions build/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,6 @@ const ts = require('typescript')
const IS_DEV = process.argv.includes('--dev')
const ADDON_PATH = (IS_DEV && process.env.SIDEBERY_DEV_DIR) || path.resolve('./addon')
const VUE_DIST = IS_DEV ? 'vue.runtime.esm-browser.js' : 'vue.runtime.esm-browser.prod.js'
const TERSER_CONFIG = {
compress: {
ecma: 2020,
},
ecma: 2020,
module: true,
sourceMap: false,
}
const FMT_HOST = {
getCanonicalFileName: path => path,
getCurrentDirectory: ts.sys.getCurrentDirectory,
Expand Down Expand Up @@ -117,7 +109,6 @@ module.exports = {
IS_DEV,
ADDON_PATH,
VUE_DIST,
TERSER_CONFIG,
FMT_HOST,

getTime,
Expand Down
104 changes: 2 additions & 102 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"prettier": "2.7.1",
"pug": "3.0.2",
"stylus": "0.58.1",
"terser": "5.14.1",
"typescript": "4.7.4",
"web-ext": "7.1.1"
},
Expand Down

0 comments on commit add277d

Please sign in to comment.