Skip to content

Commit

Permalink
added autoprefixer to rollup config
Browse files Browse the repository at this point in the history
  • Loading branch information
LiveDuo committed Jul 1, 2023
1 parent 4f0c8d0 commit c98da78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import commonjs from '@rollup/plugin-commonjs'
import replace from 'rollup-plugin-re'
import image from '@rollup/plugin-image'
import tailwindcss from 'tailwindcss'
import autoprefixer from 'autoprefixer'

const browserConfig = {
input: 'client/index.tsx',
Expand All @@ -19,7 +20,7 @@ const browserConfig = {
image(),
postcss({
inject: { insertAt: 'top' },
plugins: [tailwindcss('./tailwind.config.js')],
plugins: [tailwindcss('./tailwind.config.js'), autoprefixer],
}),
commonjs(),
resolve({ preferBuiltins: true }),
Expand Down

0 comments on commit c98da78

Please sign in to comment.