add replace plugin
This commit is contained in:
@@ -7,14 +7,14 @@
|
||||
"license": "MIT",
|
||||
"main": "index.js",
|
||||
"publishConfig": {
|
||||
"registry": "http://registry.npmjs.org/"
|
||||
"registry": "https://registry.npmjs.org/"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/H5-Dooring/dooringx.git"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rimraf ./dist && rollup -c"
|
||||
"build": "rimraf ./dist && rollup -c --environment NODE_ENV:production"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/H5-Dooring/dooringx/issues"
|
||||
@@ -45,7 +45,8 @@
|
||||
"rollup-plugin-peer-deps-external": "^2.2.4",
|
||||
"rollup-plugin-postcss": "^4.0.1",
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
"rollup-plugin-typescript2": "^0.30.0"
|
||||
"rollup-plugin-typescript2": "^0.30.0",
|
||||
"@rollup/plugin-replace": "^3.0.0"
|
||||
},
|
||||
"dependencies": {}
|
||||
}
|
||||
|
Reference in New Issue
Block a user