@ditojs/build
Advanced tools
Comparing version 1.2.0 to 1.3.0
{ | ||
"name": "@ditojs/build", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"type": "module", | ||
@@ -33,3 +33,3 @@ "repository": "https://github.com/ditojs/dito/tree/master/packages/build", | ||
}, | ||
"gitHead": "ac257e83630a7387e161116ba6fa4dd46db2985f" | ||
"gitHead": "23aac9eddfc17e3e9367db2b7ac73595bc2bad37" | ||
} |
export * from './css.js' | ||
export * from './postcss.js' | ||
export * from './rollup.js' | ||
export * from './vite.js' |
import { defineConfig } from 'vite' | ||
import { createVuePlugin } from 'vite-plugin-vue2' | ||
import autoprefixer from 'autoprefixer' | ||
import postcssInset from 'postcss-inset' | ||
import { getPostCssConfig } from './postcss.js' | ||
import { getRollupExternalsFromDependencies } from './rollup.js' | ||
@@ -48,19 +47,3 @@ | ||
}, | ||
postcss: { | ||
plugins: [ | ||
autoprefixer(), | ||
postcssInset(), | ||
{ | ||
// https://github.com/vitejs/vite/issues/5833 | ||
postcssPlugin: 'internal:remove-charset', | ||
AtRule: { | ||
charset: rule => { | ||
if (rule.name === 'charset') { | ||
rule.remove() | ||
} | ||
} | ||
} | ||
} | ||
] | ||
} | ||
postcss: getPostCssConfig({ removeCharset: true }) | ||
} | ||
@@ -67,0 +50,0 @@ : null |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6286
9
143