File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
rspack/unplugin-auto-import Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 11{
2- "name" : " example-rspack-unplugin_1.6 " ,
2+ "name" : " example-rspack-unplugin-auto-import " ,
33 "private" : true ,
4+ "type" : " module" ,
45 "scripts" : {
56 "dev" : " rspack serve" ,
67 "build" : " rspack build"
Original file line number Diff line number Diff line change 1- const { defineConfig } = require ( '@rspack/cli' ) ;
2- const { VueLoaderPlugin } = require ( 'vue-loader' ) ;
3- const HtmlWebpackPlugin = require ( 'html-webpack-plugin' ) ;
4- const AutoImport = require ( 'unplugin-auto-import/rspack' ) . default ;
1+ import { defineConfig } from '@rspack/cli' ;
2+ import HtmlWebpackPlugin from 'html-webpack-plugin' ;
3+ import AutoImport from 'unplugin-auto-import/rspack' ;
4+ import { VueLoaderPlugin } from 'vue-loader' ;
55
6- module . exports = defineConfig ( {
6+ export default defineConfig ( {
77 plugins : [
88 AutoImport ( {
99 imports : [ 'vue' ] ,
You can’t perform that action at this time.
0 commit comments