Skip to content

Commit 2a929df

Browse files
committed
feat(core): add js plugin
1 parent 5fbd6c5 commit 2a929df

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/tasks/task-init-project.ts

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ const questions = [
3636
choices: [
3737
'stylus',
3838
'pug',
39+
'js',
3940
],
4041
message: 'What plugins would you like to use?',
4142
name: 'plugins',

webpack.config.babel.js

+1
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ const configuration = {
7070
externals: {
7171
'@frontvue/plugin-stylus': '@frontvue/plugin-stylus',
7272
'@frontvue/plugin-pug': '@frontvue/plugin-pug',
73+
'@frontvue/plugin-js': '@frontvue/plugin-js',
7374
chalk: 'chalk',
7475
commander: 'commander',
7576
gulp: 'gulp',

0 commit comments

Comments
 (0)