Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Commit 3cd6ae8

Browse files
committed
fix: windows ci
1 parent a038acb commit 3cd6ae8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

examples/vue-cli/vue.config.mjs renamed to examples/vue-cli/vue.config.cjs

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
/* eslint-disable @typescript-eslint/no-var-requires */
12

2-
import { defineConfig } from '@vue/cli-service'
3-
import ScriptSetup from 'unplugin-vue2-script-setup/webpack'
3+
const { defineConfig } = require('@vue/cli-service')
4+
const ScriptSetup = require('unplugin-vue2-script-setup/webpack').default
45

5-
export default defineConfig({
6+
module.exports = defineConfig({
67
configureWebpack: {
78
plugins: [
89
ScriptSetup({

0 commit comments

Comments
 (0)