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

Commit 37a244d

Browse files
authored
Merge pull request #89 from alvarosaburido/bugfix/fix-88-module-parse-failed-unexpected-token-
fix module parse failed unexpected token
2 parents a26624d + efae3d0 commit 37a244d

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

.npmignore

+4
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@ jest.config.js
77
babel.config.js
88
vue.config.js
99
postcss.config.js
10+
api-extractor.json
11+
renovate.json
12+
rollup.config.js
1013
tailwind.config.js
1114
.prettierrc
1215
.git
16+
.prettierignore
1317
**/.git/
1418
**/node_modules/
1519
yarn.lock

rollup.config.js

+2-2
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

+1-1
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)