0.0.1 • Published 2 years ago

@resume-cooking/shared v0.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

resume-cook shared

{
  "main": "./dist/index.cjs",
  "module": "./dist/index.mjs",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "import": "./dist/index.mjs", // import {} form 'shared'
      "require": "./dist/index.cjs" // const {} = require('shared')
    },
    "./a": {
      "import": "./dist/index.mjs", // import {} form 'shared/a'
      "require": "./dist/index.cjs" // const {} = require('shared/a')
    }
  },
  "scripts": {
    "build": "unbuild",
    "stub": "unbuild --stub", // 在开发模式下我们用这个打包我们直接改源码就好了,这时我们项目用到的当前插件就自动改变了
    "test": "vitest"
  }
}