Files
securebit-chat/node_modules/sucrase/dist/parser/index.js
lockbitchat 804b384271 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.
2025-09-08 19:22:50 -04:00

32 lines
772 B
JavaScript

"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _base = require('./traverser/base');
var _index = require('./traverser/index');
class File {
constructor(tokens, scopes) {
this.tokens = tokens;
this.scopes = scopes;
}
} exports.File = File;
function parse(
input,
isJSXEnabled,
isTypeScriptEnabled,
isFlowEnabled,
) {
if (isFlowEnabled && isTypeScriptEnabled) {
throw new Error("Cannot combine flow and typescript plugins.");
}
_base.initParser.call(void 0, input, isJSXEnabled, isTypeScriptEnabled, isFlowEnabled);
const result = _index.parseFile.call(void 0, );
if (_base.state.error) {
throw _base.augmentError.call(void 0, _base.state.error);
}
return result;
} exports.parse = parse;