Skip to content

igneel64/karna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Karna
sun

A simple bundler in the works.


Features

  • Babel preset-env applied by default ✔️
  • Supports JS, JSON and JSX files ✔️
  • Build is minified using Terser ✔️
  • Automatic resolution of extensionless imports ✔️

Conventions

  • Transforms external lib imports/exports to CommonJS

Testing & Validation

⚠️ Before running the tests you have to install the dependencies of the import dependencies fixture.

To run the tests, simply run the npm run test command.

End To End

Additionally there is an e2e script that runs a real scenario for a bundler: Build, Ship to the browser, Validate the result.

Steps ahead & known issues that will be fixed

  • Definitions e.g. (As webpack Define plugin)
  • Browser package.json field as an object
  • Bundle and run a React/ReactDOM project

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published