question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Browserify to package.json

See original GitHub issue

Hello,

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:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
Johann-Scommented, Jun 9, 2017

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

0reactions
mdocommented, Oct 1, 2017

Closing out given no PR yet. Happy to revisit if there’s interest!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found