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

Commit 7799ffb

Browse files
author
pengshanglong
committed
chore: update rollup config
1 parent 40f1247 commit 7799ffb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

config/rollup.config.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import babel from 'rollup-plugin-babel'
1010
import VuePlugin from 'rollup-plugin-vue'
1111
import jsx from 'acorn-jsx'
1212
const babelConfig = require('../babel.config')
13-
const copydir = require('copy-dir')
1413

1514
// 这里需要将 @vue/babel-preset-jsx参数injectH设置为 false, 否则打包报错
1615
// https://github.com/vuejs/jsx/issues/34
@@ -25,7 +24,7 @@ const resolveFile = (path) => NodePath.resolve(__dirname, '..', path)
2524

2625
const externalPackages = ['vue', '@tarojs/components', '@tarojs/runtime', '@tarojs/taro']
2726
const extensions = ['.js', '.jsx', '.ts', '.tsx']
28-
copydir(resolveFile('./src/style', resolveFile('./dist')))
27+
2928
export default {
3029
input: resolveFile(Package.source),
3130
output: [

0 commit comments

Comments
 (0)