Skip to content

Commit

Permalink
fix(packaging): Use path.resolve for packaging CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
browniebroke committed Jun 1, 2020
1 parent a33cece commit 86d6001
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gatsby-image-gallery/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import path from 'path'
import babel from 'rollup-plugin-babel'
import commonjs from 'rollup-plugin-commonjs'
import external from 'rollup-plugin-peer-deps-external'
import postcss from 'rollup-plugin-postcss'
import resolve from 'rollup-plugin-node-resolve'
import url from 'rollup-plugin-url'
import svgr from '@svgr/rollup'

import pkg from './package.json'

export default {
Expand All @@ -25,7 +25,7 @@ export default {
plugins: [
external(),
postcss({
extract: 'dist/style.css',
extract: path.resolve('dist/style.css'),
}),
url(),
svgr(),
Expand Down

0 comments on commit 86d6001

Please sign in to comment.