mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-18 19:49:04 +00:00
CSS generate comment
This commit is contained in:
@@ -103,7 +103,9 @@ export default function (resolveFileUrl) {
|
||||
`export const ${camelCase(key)} = ${JSON.stringify(val)};`,
|
||||
);
|
||||
|
||||
const defs = Object.keys(moduleJSON)
|
||||
const defs =
|
||||
'// This file is autogenerated by lib/css-plugin.js\n' +
|
||||
Object.keys(moduleJSON)
|
||||
.map((key) => `export const ${camelCase(key)}: string;`)
|
||||
.join('\n');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user