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

Commit

Permalink
fix: remove archived script-loader (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
AviVahl authored and evilebottnawi committed Jan 6, 2020
1 parent 1d99129 commit 8c86110
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
13 changes: 0 additions & 13 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 @@ -45,7 +45,6 @@
"css-loader": "^3.4.1",
"loader-utils": "^1.2.3",
"schema-utils": "^2.6.1",
"script-loader": "^0.7.2",
"style-loader": "^1.1.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function pitch(req) {
source.push(
`require(${stringify(`!!style-loader!css-loader!${mochaCss}`)});`
);
source.push(`require(${stringify(`!!script-loader!${mochaJs}`)});`);
source.push(`require(${stringify(`!!${mochaJs}`)});`);
source.push(`mocha.setup(${stringify(options)});`);
source.push(`require(${stringify(`!!${req}`)});`);
source.push(`require(${stringify(`!!${startScriptPath}`)});`);
Expand Down

0 comments on commit 8c86110

Please sign in to comment.