mirror of
https://github.com/strapi/strapi.git
synced 2025-11-14 01:02:04 +00:00
Remove sourcemap
Signed-off-by: soupette <cyril.lpz@gmail.com>
This commit is contained in:
parent
0432fb4ce6
commit
cb83cc1cce
@ -15,12 +15,12 @@ export default {
|
|||||||
{
|
{
|
||||||
file: packageJson.main,
|
file: packageJson.main,
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
sourcemap: true,
|
sourcemap: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
file: packageJson.module,
|
file: packageJson.module,
|
||||||
format: 'esm',
|
format: 'esm',
|
||||||
sourcemap: true,
|
sourcemap: false,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
@ -45,7 +45,7 @@ export default {
|
|||||||
'@babel/preset-env',
|
'@babel/preset-env',
|
||||||
{
|
{
|
||||||
modules: false,
|
modules: false,
|
||||||
loose: true,
|
// loose: true,
|
||||||
targets: {
|
targets: {
|
||||||
browsers: ['Since 2017'],
|
browsers: ['Since 2017'],
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user