mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 16:09:50 +03:00
raw-loader
This commit is contained in:
parent
bb8e199d72
commit
0e0f4f4ce5
|
@ -58,7 +58,7 @@
|
|||
"gitbook-cli": "^2.3.0",
|
||||
"jest": "^26.2.2",
|
||||
"pug-html-loader": "^1.1.5",
|
||||
"raw-loader": "^0.5.1",
|
||||
"raw-loader": "^4.0.2",
|
||||
"react-addons-test-utils": "^15.4.1",
|
||||
"react-transform-catch-errors": "^1.0.0",
|
||||
"react-transform-hmr": "^1.0.1",
|
||||
|
|
|
@ -2,7 +2,7 @@ let s = document.createElement('script');
|
|||
s.type = 'text/javascript';
|
||||
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
const script = require('raw-loader!tmp/page.bundle.js');
|
||||
const { default: script } = require('raw-loader!tmp/page.bundle.js');
|
||||
s.appendChild(document.createTextNode(script));
|
||||
(document.head || document.documentElement).appendChild(s);
|
||||
s.parentNode.removeChild(s);
|
||||
|
|
|
@ -9411,10 +9411,13 @@ randomfill@^1.0.3:
|
|||
randombytes "^2.0.5"
|
||||
safe-buffer "^5.1.0"
|
||||
|
||||
raw-loader@^0.5.1:
|
||||
version "0.5.1"
|
||||
resolved "https://registry.yarnpkg.com/raw-loader/-/raw-loader-0.5.1.tgz#0c3d0beaed8a01c966d9787bf778281252a979aa"
|
||||
integrity sha1-DD0L6u2KAclm2Xh793goElKpeao=
|
||||
raw-loader@^4.0.2:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/raw-loader/-/raw-loader-4.0.2.tgz#1aac6b7d1ad1501e66efdac1522c73e59a584eb6"
|
||||
integrity sha512-ZnScIV3ag9A4wPX/ZayxL/jZH+euYb6FcUinPcgiQW0+UBtEv0O6Q3lGd3cqJ+GHH+rksEv3Pj99oxJ3u3VIKA==
|
||||
dependencies:
|
||||
loader-utils "^2.0.0"
|
||||
schema-utils "^3.0.0"
|
||||
|
||||
rc@^1.1.2:
|
||||
version "1.2.8"
|
||||
|
|
Loading…
Reference in New Issue
Block a user