@normed/bundle 4.2.0 → 4.2.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.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ Given a version number MAJOR.MINOR.PATCH, increment the:
6
6
  2. MINOR version when you add functionality in a backwards compatible manner, and
7
7
  3. PATCH version when you make backwards compatible bug fixes.
8
8
 
9
+ # 4.2.1
10
+
11
+ * PATCH: Fixes missing path in load_less.
12
+
9
13
  # 4.2.0
10
14
 
11
15
  * MINOR: supports a range of plugins, but these are undocumented.
@@ -69080,14 +69080,20 @@ var plugin = {
69080
69080
  build2.onResolve(
69081
69081
  { filter: filter2 },
69082
69082
  async (args) => {
69083
- return {
69084
- sideEffects: false,
69085
- pluginData: Object.assign({}, args.pluginData, {
69086
- [name]: {
69087
- entrypoint: args.kind === "entry-point"
69088
- }
69089
- })
69090
- };
69083
+ const resolvedPath = import_path4.default.resolve(args.resolveDir, args.path);
69084
+ if (import_fs3.default.existsSync(resolvedPath)) {
69085
+ return {
69086
+ sideEffects: false,
69087
+ path: import_path4.default.resolve(args.resolveDir, args.path),
69088
+ pluginData: Object.assign({}, args.pluginData, {
69089
+ [name]: {
69090
+ entrypoint: args.kind === "entry-point"
69091
+ }
69092
+ })
69093
+ };
69094
+ } else {
69095
+ return {};
69096
+ }
69091
69097
  }
69092
69098
  );
69093
69099
  build2.onLoad(