Skip to content
This repository has been archived by the owner on Feb 15, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants