You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.log('Should result in " [ERROR] A selector in CSS modules should contain at least one class or ID selector [plugin esbuild-css-modules-plugin]"`','\n');
214
+
}
215
+
216
+
// testing feature scoping
217
+
awaitesbuild.build({
218
+
entryPoints: ['app.jsx'],
219
+
entryNames: '[name]-[hash]',
220
+
format: 'esm',
221
+
target: ['esnext'],
222
+
bundle: true,
223
+
minify: false,
224
+
publicPath: 'https://my.domain/static/',
225
+
external: ['react','react-dom'],
226
+
outdir: './dist/feature-scoping',
227
+
write: true,
228
+
loader: {
229
+
'.jpg': 'file'
230
+
},
231
+
plugins: [
232
+
cssModulesPlugin({
233
+
animation: false,
234
+
customIdents: false,
235
+
grid: false,
236
+
pattern: "__[hash]_[local]"
237
+
})
238
+
],
239
+
metafile: true,
240
+
logLevel: 'debug'
241
+
});
242
+
console.log('Should result in " [ERROR] A selector in CSS modules should contain at least one class or ID selector [plugin esbuild-css-modules-plugin]"`','\n');
0 commit comments