浏览代码

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);