Skip to content

Doop single-file component (SFC) loader for Node

License

Notifications You must be signed in to change notification settings

MomsFriendlyDevCo/doop-esm-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@Doop/ESM-Loader

Doop single-file component (SFC) loader for Node.

Use with the Doop ESM loader

  1. Install the ESM loader into your main project :
npm i --save @doop/esm-loader
  1. Modify your package.json file to add the following.

This config includes setup for Mocha and ESLint.

{
  "scripts": {
    "lint": "eslint --ext .doop --ext .js --ext .vue ."
  },
  "eslintConfig": {
    "extends": [
      "@momsfriendlydevco"
    ],
    "parserOptions": {
      "ecmaVersion": "latest"
    }
  },
  "mocha": {
    "node-option": [
      "loader=@doop/esm-loader",
      "no-warnings=ExperimentalWarning"
    ]
  }
}

About

Doop single-file component (SFC) loader for Node

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published