webpack-resolve-import-remote-plugin

1.0.0 • Public • Published

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()
  ]
}
....

Readme

Keywords

Package Sidebar

Install

npm i webpack-resolve-import-remote-plugin

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

3.43 kB

Total Files

3

Last publish

Collaborators

  • echosoar