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

Documentation for including JavaScript files in the output #18

Open
nknapp opened this issue Dec 18, 2016 · 0 comments
Open

Documentation for including JavaScript files in the output #18

nknapp opened this issue Dec 18, 2016 · 0 comments

Comments

@nknapp
Copy link
Member

nknapp commented Dec 18, 2016

It must still be documented, how JavaScript can be included into the bootprint output.
Pointers are in the customize-engine-uglify project, especially the example

merge({
    uglify: {
      files: {
        'a-browser-lib.js': require.resolve('./module1/a-browser-lib.js'),
        'another-browser-lib.js': require.resolve('./module1/another-browser-lib.js')
      },
      dependencies: {
        'a-browser-lib.js': [ 'another-browser-lib.js' ]
      }
    }
  })

and the configuration schema for this engine

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

1 participant