File tree Expand file tree Collapse file tree 3 files changed +1
-15
lines changed Expand file tree Collapse file tree 3 files changed +1
-15
lines changed Original file line number Diff line number Diff line change 35
35
"prettier" : " ^2.1.2" ,
36
36
"raw-loader" : " ^4.0.2" ,
37
37
"rollup" : " ^2.3.4" ,
38
- "rollup-plugin-inject-process-env" : " ^1.3.0" ,
39
38
"rollup-plugin-livereload" : " ^2.0.0" ,
40
39
"rollup-plugin-svelte" : " ^6.0.0" ,
41
40
"rollup-plugin-svg-import" : " ^1.5.1" ,
Original file line number Diff line number Diff line change 1
1
const svelte = require ( 'rollup-plugin-svelte' )
2
2
const sveltePreprocess = require ( 'svelte-preprocess' )
3
3
const { babel } = require ( '@rollup/plugin-babel' )
4
- const injectProcessEnv = require ( 'rollup-plugin-inject-process-env' )
5
4
const { nodeResolve } = require ( '@rollup/plugin-node-resolve' )
6
5
const commonjs = require ( '@rollup/plugin-commonjs' )
7
6
const json = require ( '@rollup/plugin-json' )
@@ -114,11 +113,6 @@ async function buildWebComponent({ nestedCSS, minify }) {
114
113
115
114
...commonRollupPlugins ,
116
115
117
- // replaces the process.env references from the transpiled code
118
- injectProcessEnv ( {
119
- NODE_ENV : process . env . NODE_ENV ,
120
- } ) ,
121
-
122
116
// Watch the `public` directory and refresh the
123
117
// browser on changes when not in production
124
118
! production && livereload ( buildPath ) ,
Original file line number Diff line number Diff line change @@ -7571,7 +7571,7 @@ lru-cache@^6.0.0:
7571
7571
dependencies :
7572
7572
yallist "^4.0.0"
7573
7573
7574
- magic-string@^0.25.2, magic-string@^0.25.5, magic-string@^0.25.7 :
7574
+ magic-string@^0.25.2, magic-string@^0.25.5 :
7575
7575
version "0.25.7"
7576
7576
resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.7.tgz#3f497d6fd34c669c6798dcb821f2ef31f5445051"
7577
7577
integrity sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA==
@@ -9681,13 +9681,6 @@ ripemd160@^2.0.0, ripemd160@^2.0.1:
9681
9681
hash-base "^3.0.0"
9682
9682
inherits "^2.0.1"
9683
9683
9684
- rollup-plugin-inject-process-env@^1.3.0:
9685
- version "1.3.0"
9686
- resolved "https://registry.yarnpkg.com/rollup-plugin-inject-process-env/-/rollup-plugin-inject-process-env-1.3.0.tgz#eb746fbbf0a571174707010c0cf62eb292c89dc4"
9687
- integrity sha512-LYuOvcnLZErqK1WaDGMT5ECn1JPvOgeURfQGR9tRRyMb/sqmt5G7jT2/KSChRkyEDNKsn24J4FBxubB8bbs2Fg==
9688
- dependencies:
9689
- magic-string "^0.25.7"
9690
-
9691
9684
rollup-plugin-livereload@^2.0.0 :
9692
9685
version "2.0.0"
9693
9686
resolved "https://registry.yarnpkg.com/rollup-plugin-livereload/-/rollup-plugin-livereload-2.0.0.tgz#d3928d74e8cf2ae4286c5dd46b770fd3f3b82313"
You can’t perform that action at this time.
0 commit comments