Skip to content

Commit

Permalink
fix: supply custom webpack config for polendina
Browse files Browse the repository at this point in the history
  • Loading branch information
ctavan committed Jun 24, 2020
1 parent d878a3a commit ecc4541
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"lint": "standard",
"test:cjs": "npm run build && mocha dist/test/test-*.cjs",
"test:node": "hundreds mocha test/test-*.js",
"test:browser": "polendina --cleanup test/test-*.js",
"test:browser": "polendina --webpack-config polendina.webpack.config.cjs --cleanup test/test-*.js",
"test": "npm run lint && npm run test:node && npm run test:browser && npm run test:cjs",
"coverage": "c8 --reporter=html mocha test/test-*.js && npx st -d coverage -p 8080"
},
Expand Down
12 changes: 12 additions & 0 deletions polendina.webpack.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
resolve: {
alias: {
multiformats: process.cwd()
}
},
resolveLoader: {
alias: {
multiformats: process.cwd()
}
}
}

0 comments on commit ecc4541

Please sign in to comment.