Add style object support
This commit is contained in:
@ -19,7 +19,7 @@ export const babelPlugin = ({
|
||||
}): esbuild.Plugin => ({
|
||||
name: "babel-plugin",
|
||||
setup(build) {
|
||||
build.onLoad({ filter }, ({ path }) => {
|
||||
build.onLoad({ filter, namespace: "file" }, ({ path }) => {
|
||||
const load = once(() => readFileSync(path, "utf-8"));
|
||||
const plugins = Array.isArray(getPlugins)
|
||||
? getPlugins
|
||||
|
Reference in New Issue
Block a user