13 lines
226 B
JavaScript
13 lines
226 B
JavaScript
|
module.exports = {
|
||
|
experimental: {
|
||
|
esmExternals: 'loose',
|
||
|
},
|
||
|
webpack(config, { isServer }) {
|
||
|
config.resolve.alias = {
|
||
|
...config.resolve.alias,
|
||
|
'preact/compat': 'react',
|
||
|
}
|
||
|
return config
|
||
|
},
|
||
|
}
|