mirror of https://github.com/waku-org/js-noise.git
return resolve plugin
This commit is contained in:
parent
0fdcfcee35
commit
b1c7048923
|
@ -36,6 +36,11 @@ module.exports = function (config) {
|
||||||
},
|
},
|
||||||
webpack: {
|
webpack: {
|
||||||
mode: "production",
|
mode: "production",
|
||||||
|
resolve: {
|
||||||
|
// Add `.ts` and `.tsx` as a resolvable extension.
|
||||||
|
extensions: [".ts", ".tsx", ".js"],
|
||||||
|
plugins: [new ResolveTypeScriptPlugin()],
|
||||||
|
},
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue