diff --git a/packages/core/build.config.ts b/packages/core/build.config.ts index fa17b96..e34a29d 100644 --- a/packages/core/build.config.ts +++ b/packages/core/build.config.ts @@ -12,34 +12,5 @@ export default defineBuildConfig({ externals: [ 'unocss', ], - // TOOD: import css as string - // hooks: { - // 'rollup:options': (_, options) => { - // options.plugins = toArray(options.plugins ?? []) - // options.plugins!.push( - // string({ - // include: ['**/*.css'], - // }), - // ) - // }, - // }, }) -// function string(opts: any): InputPluginOption { -// if (!opts.include) -// throw new Error('include option should be specified') - -// const filter = createFilter(opts.include, opts.exclude) - -// return { -// name: 'string', -// transform(code, id) { -// if (filter(id)) { -// return { -// code: `export default ${JSON.stringify(code)};`, -// map: { mappings: '' }, -// } -// } -// }, -// } -// }