Skip to content

Commit

Permalink
Rename to 'rustwasm-wrapper'
Browse files Browse the repository at this point in the history
  • Loading branch information
j-devel committed Feb 17, 2022
1 parent 1b90b87 commit e1d847c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"private": true,
"name": "rustwasm-polyfill",
"name": "rustwasm-wrapper",
"version": "0.1.0",
"description": "",
"author": "j-devel",
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/task-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ class BundleTask {
const performance = {};

if (rustwasm) {
modules.push(path.resolve(`${__dirname}/../rustwasm-polyfill/node_modules`));
modules.push(path.resolve(`${__dirname}/../rustwasm-wrapper/node_modules`));
performance.hints = false;

modules.push(path.resolve(outDir)); // for importing generated js files
Expand Down Expand Up @@ -304,7 +304,7 @@ class BundleTask {
plugins,
watch: isDev,
mode: isDev ? 'development' : 'production',
entry: rustwasm ? `${__dirname}/../rustwasm-polyfill/src/index.js` : path.resolve(`${baseDir}/src/index.js`),
entry: rustwasm ? `${__dirname}/../rustwasm-wrapper/src/index.js` : path.resolve(`${baseDir}/src/index.js`),
externals: { // https://webpack.js.org/configuration/externals/
},
output: {
Expand Down

0 comments on commit e1d847c

Please sign in to comment.