Skip to content

Commit

Permalink
fix(build): remove source-map files generated by babel (#752)
Browse files Browse the repository at this point in the history
* fix(build): remove source-map files generated by babel

* chore: release v2.3.5
  • Loading branch information
unix authored Mar 4, 2022
1 parent 8db79f6 commit 420885e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@geist-ui/core",
"version": "2.3.4",
"version": "2.3.5",
"main": "dist/index.js",
"module": "esm/index.js",
"types": "esm/index.d.ts",
Expand Down
2 changes: 2 additions & 0 deletions scripts/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const plugins = [
presets: ['@babel/preset-env', '@babel/preset-react', '@babel/preset-typescript'],
plugins: ['styled-jsx/babel'],
babelrc: false,
sourcemap: false,
}),
localResolve(),
nodeResolve({
Expand Down Expand Up @@ -47,6 +48,7 @@ const cjsOutput = {
},
chunkFileNames: '[name].js',
globals,
sourcemap: false,
}

const esmOutput = {
Expand Down

0 comments on commit 420885e

Please sign in to comment.