Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

taro 2.0.7 配置报错 #45

Open
uwang opened this issue Apr 2, 2020 · 2 comments
Open

taro 2.0.7 配置报错 #45

uwang opened this issue Apr 2, 2020 · 2 comments

Comments

@uwang
Copy link

uwang commented Apr 2, 2020

configuration.module.rules[6].include[0]: The provided value "taro-f2" is not an absolute path!

@uwang
Copy link
Author

uwang commented Apr 2, 2020

配置需要调整为:

const path = require('path')

const config = {
    mini: {
      complie: {
          include: [
              path.resolve(__dirname, '..', 'node_modules/taro-f2/dist/index.js')
          ]
      }
  }
}

@kolf
Copy link

kolf commented Jun 2, 2020

解决了吗???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants