Skip to content

Commit

Permalink
Minor updates in build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
arcatdmz committed Jul 7, 2020
1 parent 86faa94 commit ec70076
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 54 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Expand Up @@ -4,5 +4,5 @@
"@babel/preset-react",
"@babel/preset-typescript"
],
"plugins": [["babel-plugin-styled-components"]]
"plugins": ["babel-plugin-styled-components"]
}
2 changes: 1 addition & 1 deletion docs/.babelrc
@@ -1,4 +1,4 @@
{
"presets": ["next/babel"],
"plugins": [["styled-components", { "ssr": true }]]
"plugins": [["babel-plugin-styled-components", { "ssr": true }]]
}
86 changes: 38 additions & 48 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Expand Up @@ -48,7 +48,6 @@
"@babel/preset-env": "^7.10.4",
"@babel/preset-react": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@rollup/plugin-commonjs": "^13.0.0",
"@rollup/plugin-node-resolve": "^8.1.0",
"@types/react": "^16.9.41",
"@types/styled-components": "^5.1.0",
Expand Down
2 changes: 0 additions & 2 deletions rollup.config.js
@@ -1,5 +1,4 @@
import resolve from "@rollup/plugin-node-resolve";
import commonjs from "@rollup/plugin-commonjs";
import babel from "rollup-plugin-babel";
import { terser } from "rollup-plugin-terser";
import pkg from "./package.json";
Expand Down Expand Up @@ -29,7 +28,6 @@ export default [
],
plugins: [
resolve({ extensions }),
commonjs(),
babel({ extensions, include: "lib/**/*", exclude: "node_modules/**/*" }),
terser({ output: { comments } }),
],
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Expand Up @@ -7,7 +7,7 @@
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"jsx": "react",
"jsx": "preserve",
"noUnusedLocals": true,
"noUnusedParameters": true,
"removeComments": false,
Expand Down

0 comments on commit ec70076

Please sign in to comment.