File tree Expand file tree Collapse file tree 1 file changed +5
-15
lines changed
Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,8 @@ import { terser } from 'rollup-plugin-terser'
1010import del from 'rollup-plugin-delete'
1111import copy from 'rollup-plugin-copy'
1212
13- import _postcss from 'postcss'
14-
15- const postcssTrim = _postcss . plugin ( 'postcss-trim' , ( ) => css => {
16- css . raws . after = css . raws . after . replace ( / ^ \n * $ / g, '' )
17- } )
18-
1913const globals = {
20- ' vue' : 'Vue'
14+ vue : 'Vue'
2115}
2216
2317const componentName = 'FlowForm'
@@ -44,8 +38,7 @@ export default [
4438 output : 'css' ,
4539 extract : 'vue-flow-form.css' ,
4640 plugins : [
47- postcssImport ( ) ,
48- postcssTrim ( )
41+ postcssImport ( )
4942 ]
5043 } ) ,
5144 css ( ) ,
@@ -81,8 +74,7 @@ export default [
8174 output : 'css' ,
8275 extract : 'vue-flow-form.css' ,
8376 plugins : [
84- postcssImport ( ) ,
85- postcssTrim ( )
77+ postcssImport ( )
8678 ]
8779 } ) ,
8880 css ( ) ,
@@ -118,8 +110,7 @@ export default [
118110 output : 'css' ,
119111 extract : 'vue-flow-form.css' ,
120112 plugins : [
121- postcssImport ( ) ,
122- postcssTrim ( )
113+ postcssImport ( )
123114 ]
124115 } ) ,
125116 css ( ) ,
@@ -155,8 +146,7 @@ export default [
155146 output : 'css' ,
156147 extract : 'vue-flow-form.min.css' ,
157148 plugins : [
158- postcssImport ( ) ,
159- postcssTrim ( )
149+ postcssImport ( )
160150 ] ,
161151 sourceMap : true ,
162152 minimize : true
You can’t perform that action at this time.
0 commit comments