@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.
- package/lib/css.mjs +3 -3
- 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
|
-
|
|
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
|
};
|