mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix webpack config
This commit is contained in:
parent
84059086a6
commit
554913c58b
2 changed files with 16 additions and 0 deletions
|
@ -41,6 +41,14 @@ module.exports = {
|
||||||
"sass-loader",
|
"sass-loader",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
// So that type module works with webpack
|
||||||
|
// https://github.com/webpack/webpack/issues/11467#issuecomment-691873586
|
||||||
|
{
|
||||||
|
test: /\.m?js/,
|
||||||
|
resolve: {
|
||||||
|
fullySpecified: false,
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
test: /\.(ts|tsx|js|jsx|mjs)$/,
|
test: /\.(ts|tsx|js|jsx|mjs)$/,
|
||||||
exclude:
|
exclude:
|
||||||
|
|
|
@ -44,6 +44,14 @@ module.exports = {
|
||||||
"sass-loader",
|
"sass-loader",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
// So that type module works with webpack
|
||||||
|
// https://github.com/webpack/webpack/issues/11467#issuecomment-691873586
|
||||||
|
{
|
||||||
|
test: /\.m?js/,
|
||||||
|
resolve: {
|
||||||
|
fullySpecified: false,
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
test: /\.(ts|tsx|js|jsx|mjs)$/,
|
test: /\.(ts|tsx|js|jsx|mjs)$/,
|
||||||
exclude:
|
exclude:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue