All Projects → imcuttle → Babel Plugin Danger Remove Unused Import

imcuttle / Babel Plugin Danger Remove Unused Import

Licence: mit
babel-plugin-danger-remove-unused-import

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Babel Plugin Danger Remove Unused Import

Generator Angular Fullstack
Yeoman generator for an Angular app with an Express server
Stars: ✭ 6,135 (+51025%)
Mutual labels:  babel
Babel Plugin Transform React Remove Prop Types
Remove unnecessary React propTypes from the production build. 🎈
Stars: ✭ 890 (+7316.67%)
Mutual labels:  babel
Next Boilerplate
A well-structured production ready Next.js boilerplate with Typescript, Redux, Jest, Enzyme, Express.js, Sass, Css, EnvConfig, Fetch, Reverse Proxy, Bundle Analyzer and Built-in Project CLI. https://pankod.github.io/next-boilerplate/
Stars: ✭ 936 (+7700%)
Mutual labels:  babel
Minimal React Webpack Babel Setup
The minimal React, Webpack, Babel Setup. You want to get beyond create-react-app?
Stars: ✭ 777 (+6375%)
Mutual labels:  babel
Reactjs Tmdb App
Responsive React 'The Movie Database' (TMDb) App
Stars: ✭ 830 (+6816.67%)
Mutual labels:  babel
Braid Design System
Themeable design system for the SEEK Group
Stars: ✭ 888 (+7300%)
Mutual labels:  babel
Preset Modules
A Babel preset that targets modern browsers by fixing engine bugs (will be merged into preset-env eventually)
Stars: ✭ 730 (+5983.33%)
Mutual labels:  babel
Yarn Package Boilerplate
An Yarn package with babel, jest, flow, prettier and more
Stars: ✭ 10 (-16.67%)
Mutual labels:  babel
Svelte Quickstart
Svelte un nuevo framework de JavaScript para construir interfaces de usuario.
Stars: ✭ 16 (+33.33%)
Mutual labels:  babel
Wordpress Starter
📦 A starter template for WordPress websites
Stars: ✭ 26 (+116.67%)
Mutual labels:  babel
React Things
Коллекция материалов для изучения React
Stars: ✭ 789 (+6475%)
Mutual labels:  babel
Htm
Hyperscript Tagged Markup: JSX alternative using standard tagged templates, with compiler support.
Stars: ✭ 7,299 (+60725%)
Mutual labels:  babel
React Native Dotenv
A Babel preset let you import application configs from .env file (zero runtime dependency)
Stars: ✭ 895 (+7358.33%)
Mutual labels:  babel
Awesome Babel
😎A list of awesome Babel plugins, presets, etc.
Stars: ✭ 770 (+6316.67%)
Mutual labels:  babel
Flask Bones
An example of a large scale Flask application using blueprints and extensions.
Stars: ✭ 849 (+6975%)
Mutual labels:  babel
React Article Bucket
总结,积累,分享,传播JavaScript各模块核心知识点文章全集,欢迎star,issue(勿fork,内容可能随时修改)。webpack核心内容部分请查看专栏: https://github.com/liangklfangl/webpack-core-usage
Stars: ✭ 750 (+6150%)
Mutual labels:  babel
Generator Node Module
A Yeoman module to author Node libraries with Prettier, Jest, Flow and Babel.
Stars: ✭ 16 (+33.33%)
Mutual labels:  babel
Electron Webpack Boilerplate
use webpack2 to bundle react app in electron
Stars: ✭ 11 (-8.33%)
Mutual labels:  babel
Online Bling
Stars: ✭ 9 (-25%)
Mutual labels:  babel
React Express Fullstack
Full stack (mostly unopinionated) starter pack with React+Redux and Expressjs
Stars: ✭ 23 (+91.67%)
Mutual labels:  babel

babel-plugin-danger-remove-unused-import

Build status Test coverage NPM version NPM Downloads Prettier Conventional Commits

For shrinking the bundled javascript size 😄

Note: remove unused import is dangerous because the imported package may have some side effects!

Option

{
  ignore: ['react']
}

Input

import React from 'react'
import Button from 'button'
import _ from 'lodash'
import moment from 'moment'
import { data } from '../some-where'

// ...

const a = {}
a.moment = <Button x={data} />

Output

import React from 'react'
import Button from 'button'
- import _ from 'lodash'
- import moment from 'moment'
import {data} from '../some-where'

// ...

const a = {}
a.moment = <Button x={data} />

Todo

  • [x] Supporting Scope
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].