Skip to content

Commit

Permalink
Tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
drzax committed May 22, 2020
1 parent 98cf7f4 commit 35ef7c7
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import peerDepsExternal from "rollup-plugin-peer-deps-external";
import resolve from "rollup-plugin-node-resolve";
import typescript from "rollup-plugin-typescript2";
// import sass from "rollup-plugin-sass";
import commonjs from "rollup-plugin-commonjs";
import postcss from "rollup-plugin-postcss";
import pkg from "./package.json";
Expand All @@ -12,24 +11,24 @@ export default {
{
file: pkg.main,
format: "cjs",
sourcemap: true
sourcemap: true,
},
{
file: pkg.module,
format: "esm",
sourcemap: true
}
sourcemap: true,
},
],
plugins: [
peerDepsExternal(),
postcss({
extract: false,
modules: true,
namedExports: true,
use: ["sass"]
use: ["sass"],
}),
resolve(),
commonjs(),
typescript({ useTsconfigDeclarationDir: true })
]
typescript({ useTsconfigDeclarationDir: true }),
],
};

0 comments on commit 35ef7c7

Please sign in to comment.