Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit efae3d0

Browse files
committed
fix(build): changed order of rollup plugins
1 parent 39c23ff commit efae3d0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import resolve from '@rollup/plugin-node-resolve';
66
import commonjs from '@rollup/plugin-commonjs';
77
import { terser } from 'rollup-plugin-terser';
88
import ts from 'rollup-plugin-typescript2';
9-
import VuePlugin from 'rollup-plugin-vue';
9+
import vue from 'rollup-plugin-vue';
1010

1111
import pkg from './package.json';
1212
const name = 'as-dynamic-forms';
@@ -89,8 +89,8 @@ function createConfig(format, output, plugins = []) {
8989
// used alone.
9090
external,
9191
plugins: [
92-
VuePlugin(/* VuePluginOptions */),
9392
tsPlugin,
93+
vue(),
9494
createReplacePlugin(
9595
isProductionBuild,
9696
isBundlerESMBuild,

vue.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = {
1313
pages: {
1414
index: {
1515
title: 'Vue Dynamic Forms',
16-
entry: 'dev/vue2/main.js',
16+
entry: 'dev/typescript/main.ts',
1717
template: 'public/index.html',
1818
filename: 'index.html',
1919
},

0 commit comments

Comments
 (0)