-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
Remove sourcemap directives #39
Comments
No, What are the issue that this is causing? Regardless, this sounds more like a Browserify issue. |
The only issue with Many libraries provide source maps, but they use embedded sourcemaps. The way Btw this is the list of dependencies in my project:
and except |
Not true. $ npm install babel-plugin-transform-decorators-legacy
$ npm install babel-plugin-transform-react-jsx
$ npm install babel-preset-es2015
$ npm install babel-preset-react
$ npm install babel-preset-stage-0
$ npm install babelify
$ npm install browserify
$ npm install browserify-css
$ npm install color
$ npm install factor-bundle
$ npm install font-awesome
$ npm install immutable
$ npm install isomorphic-fetch
$ npm install js-cookie
$ npm install livereactload
$ npm install loadjs
$ npm install lodash
$ npm install loose-envify
$ npm install module-deps
$ npm install query-string
$ npm install radium
$ npm install react
$ npm install react-addons-css-transition-group
$ npm install react-addons-pure-render-mixin
$ npm install react-dom
$ npm install react-redux
$ npm install react-reorder
$ npm install react-router
$ npm install react-router-redux
$ npm install react-slick
$ npm install react-tap-event-plugin
$ npm install react-tinymce
$ npm install redux
$ npm install redux-immutable
$ npm install redux-multi
$ npm install redux-thunk
$ npm install svg4everybody
$ npm install tinymce
$ npm install yuglify
$ npm install babel-plugin-react-transform
$ npm install chai
$ npm install chai-immutable
$ npm install jsdom
$ npm install livereactload
$ npm install mocha
$ npm install react-addons-test-utils
$ npm install react-proxy
$ npm install redux-devtools
$ npm install redux-devtools-dock-monitor
$ npm install redux-devtools-log-monitor
$ npm install redux-slider-monitor
$ npm install teaspoon
$ npm install watchify
$ ag -l -Q sourceMappingURL ./node_modules
node_modules/async/dist/async.min.js
node_modules/browser-pack/example/sourcemap/output.js
node_modules/browser-pack/test/source-maps.js
node_modules/browserify/example/source_maps/js/build/bundle.js
node_modules/browserify/test/bundle_sourcemap.js
node_modules/browserify/test/debug_standalone.js
node_modules/browserify-css/examples/node_modules/bootstrap/dist/css/bootstrap-theme.css.map
node_modules/browserify-css/examples/node_modules/bootstrap/dist/css/bootstrap-theme.css
node_modules/browserify-css/examples/node_modules/bootstrap/dist/css/bootstrap.css.map
node_modules/browserify-css/examples/node_modules/bootstrap/dist/css/bootstrap.css
node_modules/browserify-css/examples/submodules/bundle.js
node_modules/combine-source-map/example/two-files-short.js
node_modules/combine-source-map/node_modules/convert-source-map/example/comment-to-json.js
node_modules/combine-source-map/node_modules/convert-source-map/README.md
node_modules/combine-source-map/node_modules/convert-source-map/test/comment-regex.js
node_modules/combine-source-map/node_modules/convert-source-map/test/fixtures/map-file-comment-double-slash.css
node_modules/combine-source-map/node_modules/convert-source-map/index.js
node_modules/combine-source-map/node_modules/convert-source-map/test/convert-source-map.js
node_modules/combine-source-map/node_modules/convert-source-map/test/fixtures/map-file-comment-inline.css
node_modules/combine-source-map/node_modules/convert-source-map/test/fixtures/map-file-comment.css
node_modules/combine-source-map/node_modules/convert-source-map/test/map-file-comment.js
node_modules/combine-source-map/README.md
node_modules/convert-source-map/example/comment-to-json.js
node_modules/convert-source-map/index.js
node_modules/convert-source-map/README.md
node_modules/convert-source-map/test/comment-regex.js
node_modules/convert-source-map/test/convert-source-map.js
node_modules/convert-source-map/test/fixtures/map-file-comment.css
node_modules/convert-source-map/test/fixtures/map-file-comment-double-slash.css
node_modules/convert-source-map/test/fixtures/map-file-comment-inline.css
node_modules/convert-source-map/test/map-file-comment.js
node_modules/core-js/client/core.min.js
node_modules/core-js/client/library.min.js
node_modules/core-js/client/shim.min.js
node_modules/factor-bundle/node_modules/browser-pack/example/sourcemap/output.js
node_modules/factor-bundle/node_modules/browser-pack/test/source-maps.js
node_modules/factor-bundle/node_modules/combine-source-map/example/two-files-short.js
node_modules/factor-bundle/node_modules/combine-source-map/README.md
node_modules/factor-bundle/node_modules/convert-source-map/example/comment-to-json.js
node_modules/factor-bundle/node_modules/convert-source-map/index.js
node_modules/factor-bundle/node_modules/convert-source-map/test/comment-regex.js
node_modules/factor-bundle/node_modules/convert-source-map/test/fixtures/map-file-comment-inline.css
node_modules/factor-bundle/node_modules/convert-source-map/test/fixtures/map-file-comment.css
node_modules/factor-bundle/node_modules/convert-source-map/test/convert-source-map.js
node_modules/factor-bundle/node_modules/convert-source-map/README.md
node_modules/factor-bundle/node_modules/convert-source-map/test/fixtures/map-file-comment-double-slash.css
node_modules/factor-bundle/node_modules/convert-source-map/test/map-file-comment.js
node_modules/factor-bundle/node_modules/inline-source-map/README.md
node_modules/factor-bundle/node_modules/inline-source-map/index.js
node_modules/factor-bundle/node_modules/inline-source-map/test/source-content.js
node_modules/factor-bundle/node_modules/inline-source-map/test/inline-source-map.js
node_modules/fbjs/node_modules/core-js/client/core.min.js
node_modules/fbjs/node_modules/core-js/client/library.min.js
node_modules/fbjs/node_modules/core-js/client/shim.min.js
node_modules/fsevents/node_modules/async/dist/async.min.js
node_modules/inline-source-map/index.js
node_modules/inline-source-map/test/source-content.js
node_modules/inline-source-map/README.md
node_modules/inline-source-map/test/inline-source-map.js
node_modules/insert-module-globals/test/sourcemap/main.js
node_modules/jquery/external/sizzle/dist/sizzle.min.js
node_modules/react-tap-event-plugin/node_modules/core-js/client/core.min.js
node_modules/react-tap-event-plugin/node_modules/core-js/client/library.min.js
node_modules/react-tap-event-plugin/node_modules/core-js/client/shim.min.js
node_modules/source-map/dist/source-map.min.js
node_modules/source-map/dist/source-map.debug.js
node_modules/source-map-support/amd-test/script.js
node_modules/source-map-support/amd-test/browser-source-map-support.js
node_modules/source-map-support/browser-source-map-support.js
node_modules/source-map-support/build.js
node_modules/source-map-support/browser-test/script.js
node_modules/source-map-support/README.md
node_modules/source-map-support/source-map-support.js
node_modules/source-map-support/test.js This sounds like an issue of Browserify as opposed to anything else. Using I will leave this open to see if anyone else stumbles across this issue. I cannot find many issue threads talking about this issue. |
Thanks for keeping this open.
but no url source map.) I wanna know what's your alternative? Do you expect the end user to serve the source map files along with your library? It's not good idea. So I guess if you don't want to remove these source maps it'd be fine if you change it to base64 source maps instead of urls to external files. |
I'm sure if any of these packages had url source maps in their library files, I'd see warnings for them too as I'm not serving any files except the bundles I create with browserify (3 js files, no .map files.) I just wanna assure you that none of above packages are putting url source maps in the library files. |
|
@gajus it's still there in 3.0.11 (released 3 days ago), should I wait for next version? |
@gajus it's still there in 3.1.0 (released a week ago). |
Take a look at this just as an example: https://github.com/reactjs/redux/blob/master/package.json it's not generating sourcemaps. Maybe we need a build-dev that generates sourcemaps only for repo's developers. |
Thanks for creating and maintaining this package.
Could you please remove sourcemap directives (
//# sourceMappingURL=index.js.map
) from compiled js files indist
directory. I'm using lots of packages in my project but onlyredux-immutable
has these directives and it makes some minor but annoying problems withbrowserify
.The text was updated successfully, but these errors were encountered: