Skip to content

Commit

Permalink
wip not working fix see #7
Browse files Browse the repository at this point in the history
  • Loading branch information
agilgur5 committed Jun 14, 2019
1 parent b513fe5 commit 4da17d1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module.exports = {
module: {
rules: [{
test: /physijs_worker\.js$/,
loader: 'worker-loader',
// inline the worker as a Blob so no relative URLs
// so it's compatible with node-fetch/jsdom-worker for testing
options: { inline: true, fallback: false, name: 'blah' }
}]
}
}

0 comments on commit 4da17d1

Please sign in to comment.