webpack-contrib / bundle-loader

Bundle Loader
MIT License
658 stars 59 forks source link

Error since 0.5.4 #15

Closed roderickhsiao closed 9 years ago

roderickhsiao commented 9 years ago

https://github.com/webpack/bundle-loader/commit/2a25922f6c32248337f2854db7f085c2c4ab4cb3

@sokra this change somewhat break the logic, previously we have two config like

  1. /a/b/node_modules/a/b/file.js
  2. /a/b/file.js seems like the context will also change based on the caller as well, so those two file generate the same relative path after the stringifyRequest logic in the utils

so those two config all output as ./file.js which break the previous logic