Improve gameplay
This commit is contained in:
parent
7412bc8af5
commit
793d9a81e8
27 changed files with 275 additions and 226 deletions
|
|
@ -137,12 +137,6 @@ module.exports = (env, argv) => {
|
|||
},
|
||||
resolve: {
|
||||
extensions: ['.ts', '.js', '.json'],
|
||||
alias: {
|
||||
// sdf-2d's package.json `exports` only declares an `import` condition,
|
||||
// which webpack 5 cannot resolve for the production (require) build.
|
||||
// Point straight at its entry to bypass package exports resolution.
|
||||
'sdf-2d$': path.resolve(__dirname, 'node_modules/sdf-2d/lib/main.js'),
|
||||
},
|
||||
},
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue