-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(script-compiler): use static
import
instead of require
for te…
…mplate (#85) * fix(script-compiler): use static import instead of require If package.json has type=module, webpack does not transpile `require`. (I dont know the reason). To use static `import` is a safer way. * use import type * remove unused code * fix * add debug log * CI: add cache * fix; module name path
- Loading branch information
Showing
3 changed files
with
55 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 0 additions & 70 deletions
70
packages/@textlint/script-compiler/src/CodeGenerator/web-codegen.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters