Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
zyyv committed Jan 29, 2024
1 parent baa693c commit edd8668
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions packages/core/build.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: '' },
// }
// }
// },
// }
// }

0 comments on commit edd8668

Please sign in to comment.