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

请问production build后的js和asserts在哪个文件夹中? #73

Closed
iedwin opened this issue Sep 15, 2016 · 3 comments
Closed

请问production build后的js和asserts在哪个文件夹中? #73

iedwin opened this issue Sep 15, 2016 · 3 comments

Comments

@iedwin
Copy link

iedwin commented Sep 15, 2016

npm run dist后却找不到类似/dist/的文件夹,那build之后的文件要去哪里找?

@QingWei-Li
Copy link
Contributor

lib/

@iedwin
Copy link
Author

iedwin commented Sep 15, 2016

谢谢!
在cooking.common.js中找到了dist设置:

cooking.set({
  entry: './src/index.js',
  # dist: './lib',
  clean: false,
  format: 'cjs',
  extends: ['vue2'],
  minimize: false,
  alias: {
    main: path.join(__dirname, '../src'),
    packages: path.join(__dirname, '../packages'),
    examples: path.join(__dirname, '../examples')
  },
  externals: { vue: 'vue' }
});

@Leopoldthecoder
Copy link
Contributor

You got it

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

3 participants