feat: implement build system and development workflow
- Add npm scripts for CSS/JS compilation (build:css, build:js, build) - Create PowerShell build automation script - Document development workflow in README - Add troubleshooting guide for build issues - Specify proper file structure and compilation process Supports Tailwind CSS v3.4.0 and esbuild bundling with source maps.
This commit is contained in:
30
node_modules/camelcase-css/index.js
generated
vendored
Normal file
30
node_modules/camelcase-css/index.js
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
"use strict";
|
||||
const pattern = /-(\w|$)/g;
|
||||
|
||||
const callback = (dashChar, char) => char.toUpperCase();
|
||||
|
||||
|
||||
|
||||
const camelCaseCSS = property =>
|
||||
{
|
||||
property = property.toLowerCase();
|
||||
|
||||
// NOTE :: IE8's "styleFloat" is intentionally not supported
|
||||
if (property === "float")
|
||||
{
|
||||
return "cssFloat";
|
||||
}
|
||||
// Microsoft vendor-prefixes are uniquely cased
|
||||
else if (property.startsWith("-ms-"))
|
||||
{
|
||||
return property.substr(1).replace(pattern, callback);
|
||||
}
|
||||
else
|
||||
{
|
||||
return property.replace(pattern, callback);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
module.exports = camelCaseCSS;
|
||||
Reference in New Issue
Block a user