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:
18
node_modules/sucrase/dist/esm/parser/traverser/index.js
generated
vendored
Normal file
18
node_modules/sucrase/dist/esm/parser/traverser/index.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
import {nextToken, skipLineComment} from "../tokenizer/index";
|
||||
import {charCodes} from "../util/charcodes";
|
||||
import {input, state} from "./base";
|
||||
import {parseTopLevel} from "./statement";
|
||||
|
||||
export function parseFile() {
|
||||
// If enabled, skip leading hashbang line.
|
||||
if (
|
||||
state.pos === 0 &&
|
||||
input.charCodeAt(0) === charCodes.numberSign &&
|
||||
input.charCodeAt(1) === charCodes.exclamationMark
|
||||
) {
|
||||
skipLineComment(2);
|
||||
}
|
||||
nextToken();
|
||||
return parseTopLevel();
|
||||
}
|
||||
Reference in New Issue
Block a user