소스 검색

bundle.css?

hmt 4 년 전
부모
커밋
baf66564cf
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      rollup.config.js

+ 3 - 3
rollup.config.js

@@ -19,9 +19,9 @@ export default [
     plugins: [
       svelte({
         dev: !production,
-        css: function (css) {
-          css.write('bundle.css');
-      },
+        css: (css) => {
+          css.write("bundle.css");
+        },
         onwarn: (warning, handler) => {
           // if (warning.code === 'a11y-label-has-associated-control') return;
           handler(warning);