Skip to content
This repository was archived by the owner on Dec 22, 2020. It is now read-only.

Commit 8c86110

Browse files
Avi Vahlevilebottnawi
authored andcommitted
fix: remove archived script-loader (#86)
1 parent 1d99129 commit 8c86110

File tree

3 files changed

+1
-15
lines changed

3 files changed

+1
-15
lines changed

package-lock.json

Lines changed: 0 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
"css-loader": "^3.4.1",
4646
"loader-utils": "^1.2.3",
4747
"schema-utils": "^2.6.1",
48-
"script-loader": "^0.7.2",
4948
"style-loader": "^1.1.2"
5049
},
5150
"devDependencies": {

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function pitch(req) {
3030
source.push(
3131
`require(${stringify(`!!style-loader!css-loader!${mochaCss}`)});`
3232
);
33-
source.push(`require(${stringify(`!!script-loader!${mochaJs}`)});`);
33+
source.push(`require(${stringify(`!!${mochaJs}`)});`);
3434
source.push(`mocha.setup(${stringify(options)});`);
3535
source.push(`require(${stringify(`!!${req}`)});`);
3636
source.push(`require(${stringify(`!!${startScriptPath}`)});`);

0 commit comments

Comments
 (0)