Parse errors occur when use speedup with fusion plugin
ClarkXia opened this issue · comments
ClarkXia commented
Describe the bug
Parse errors occur when use speedup with fusion plugin
import { defineConfig } from '@ice/app';
import fusion from '@ice/plugin-fusion';
// The project config, see https://ice3.alibaba-inc.com/v3/docs/guide/basic/config
const minify = process.env.NODE_ENV === 'production' ? 'swc' : false;
export default defineConfig(() => ({
ssg: false,
minify,
plugins: [
fusion({
importStyle: true,
themePackage: '@alife/theme-88926',
}),
],
routes: {
ignoreFiles: ['**/components/**'],
},
compileDependencies: false,
codeSplitting: false,
}));
Expected behavior
Compile successfully.
Actual behavior
No response
Version of ice.js
3.4.3
Content of build.json or ice.config.mts
No response
Additional context
No response