Giter Club home page Giter Club logo

esw's Introduction



esw's People

Contributors

dependabot[bot] avatar lbwa avatar

Stargazers

 avatar  avatar  avatar

esw's Issues

feat: multi-entries mode

  • esw src/a.ts src/b.ts should keep own filename instead of entry inference
  • external detection still works by default
  • esw src/*.ts supported?

feat: infer entry, output from package.json

  1. We assume that the input and output have the same file name, so we use the main or module field to be used as a project entry.
  2. the dir name of main/module field as output dir

feat: lint command

Should be enhance feature

  1. add eslint

    pnpm esw add eslint
  2. run eslint

    pnpm esw lint

feat: style compilation

  • support sass f012645
  • sass compiler wouldn't import css file automatically, so we need to handle css importation in sass file when style bundling. 0531d0c
  • watch mode

bug: wrong output file name

  • in package.json
    {
      "main": "dist/index.js",
      "module": "dist/lib.esm.js",
    }

but output:

dist
  |-index.js
  |-index.esm.js

expected output:

dist
  |-index.js
  |-lib.esm.js

solutions

  • use write: false and esw internal implmentation to write outflies, instead of esbuild.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.