There was an error while loading. Please reload this page.
1 parent aa71ef9 commit cd07891Copy full SHA for cd07891
rollup.config.js
@@ -15,12 +15,14 @@ export default [
15
output: {
16
file: pkg.main,
17
format: 'cjs',
18
+ sourcemap: true,
19
},
20
external,
21
plugins: [
22
babel({
23
runtimeHelpers: true,
24
plugins: ['@babel/transform-runtime'],
25
+ sourceMaps: true,
26
}),
27
nodeResolve(),
28
commonjs(),
@@ -32,12 +34,14 @@ export default [
32
34
33
35
file: pkg.module,
36
format: 'esm',
37
38
39
40
41
42
43
plugins: [['@babel/transform-runtime', { useESModules: true }]],
44
45
46
47
0 commit comments