1.0.0 • Published 5 years ago

webpack-resolve-import-remote-plugin v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

webpack-resolve-import-remote-plugin

import dependencies in js like golang!

Usage

// You can import repo from remote address

import dlv from 'github.com/developit/dlv';

const name = dlv(
  {
    type: {
      name: 'WebpackIRPlugin'
    }
  },
  'type.name'
);

console.log(name);

// WebpackIRPlugin

Installation

npm install --save-dev webpack-resolve-import-remote-plugin

For webpack.config.js:

const WebpackIRPlugin = require('webpack-resolve-import-remote-plugin');

....
resolve: {
  plugins: [
    new WebpackIRPlugin()
  ]
}
....
1.0.0

5 years ago