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

Add --no-html flag #278

Closed
1 of 4 tasks
bwendt-mylo opened this issue Mar 3, 2017 · 0 comments
Closed
1 of 4 tasks

Add --no-html flag #278

bwendt-mylo opened this issue Mar 3, 2017 · 0 comments

Comments

@bwendt-mylo
Copy link
Contributor

bwendt-mylo commented Mar 3, 2017

This issue is a:

  • Bug report
  • Feature request
  • Question / support request
  • Other

I'd like to run a build and have a single js file (no css necessary) generated in the output directory. I can get close by doing the following:

nwb build-preact-app --no-vendor

But I still always get the html and manifest.json files. Suggestions?

Would adding the following check in build-preact-app.js#buildConfig() do the trick?

  // ...
  plugins: {
    html: args.html !== false && getDefaultHTMLConfig(),
    vendor: args.vendor !== false
  },
  // ...

Thanks for taking a look!

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

No branches or pull requests

2 participants