Browserify to package.json
See original GitHub issueHello,
could we add browserify support to package.json? It would allow easy import of single bootstrap files.
"browserify": { "transform": [ [ "babelify", { "presets": [ "es2015" ] } ] ] }
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
how to build modular applications with browserify - GitHub
You can define a "browser" field in the package.json of any package that will tell browserify to override lookups for the main field...
Read more >Browserify - npm
You can specify source transforms in the package.json in the browserify.transform field. There is more information about how source transforms ...
Read more >Browserify
Bundle up your first module ... Browsers don't have the require method defined, but Node.js does. With Browserify you can write code that...
Read more >Compile NPM package with Browserify - Stack Overflow
Run the dist/ directory through Browserify to produce a package.bundle.js file and include that as a script tag. This seems to run without ......
Read more >Publishing your first Browserify/Node module
Tutorial for get started with Browserify, and how to publish your first module to NPM.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Currently we add in our documentation a way to do that with Webpack : https://github.com/twbs/bootstrap/blob/v4-dev/docs/4.0/getting-started/webpack.md
Thank you for the explanation
Closing out given no PR yet. Happy to revisit if there’s interest!