bare-module 4.3.0 → 4.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -510,7 +510,7 @@ const Module = module.exports = exports = class Module {
510
510
  } = opts
511
511
 
512
512
  const [resolution = null] = resolve(specifier, parentURL, {
513
- conditions,
513
+ conditions: ['asset', ...conditions],
514
514
  imports,
515
515
  resolutions
516
516
  }, readPackage)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bare-module",
3
- "version": "4.3.0",
3
+ "version": "4.3.1",
4
4
  "description": "Module support for JavaScript",
5
5
  "main": "index.js",
6
6
  "files": [