Skip to content

Commit 5d6a459

Browse files
author
Marek Rozmus
committed
Update postcss plugin configuration
1 parent 719f497 commit 5d6a459

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rollup.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import path from 'path';
12
import babel from 'rollup-plugin-babel';
23
import postcss from 'rollup-plugin-postcss';
34
import peerDepsExternal from 'rollup-plugin-peer-deps-external';
@@ -37,7 +38,7 @@ const config = {
3738
postcss({
3839
modules: true,
3940
plugins: [autoprefixer],
40-
extract: './dist/styles.css'
41+
extract: path.resolve('dist/styles.css')
4142
}),
4243
babel({ exclude: 'node_modules/**' }),
4344
localResolve(),

0 commit comments

Comments
 (0)