@surplus/esbuild 2.0.0 → 2.0.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/lib/css.mjs +3 -3
  2. package/package.json +1 -1
package/lib/css.mjs CHANGED
@@ -136,7 +136,9 @@ export default ({ outfile } = {}) => {
136
136
  // We need to know where to put it based on its sibling output files.
137
137
  return {
138
138
  warnings: [
139
- "not emitting a .css file because it appears there are no other output files (or an error occurred somewhere else in the build)",
139
+ {
140
+ text: "not emitting a .css file because it appears there are no other output files (or an error occurred somewhere else in the build)",
141
+ },
140
142
  ],
141
143
  };
142
144
  }
@@ -169,8 +171,6 @@ export default ({ outfile } = {}) => {
169
171
  ),
170
172
  outText,
171
173
  );
172
-
173
- return { warnings: [new Error("this is a warning")] };
174
174
  });
175
175
  },
176
176
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@surplus/esbuild",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Surplus framework ESBuild plugin",
5
5
  "author": "Josh Junon (https://github.com/qix-)",
6
6
  "license": "MIT",