UNPKG

node-async-require-loader

Version:

Transparently require() remote contents (node moudles) in webpack !

33 lines (27 loc) 574 B
"use strict"; var path = require("path"), webpack = require("webpack"); module.exports = { cache: true, entry: { test: "./examples/example06--usage-with-local/entry.js" }, output: { path: path.join(__dirname, 'dist'), publicPath: "/", filename: 'js/[name].js' }, module: { loaders: [{ test: /\.ajs$/, loader: "node-async-require-loader?async=false" }] }, plugins: [ ], externals: { }, resolve: { extensions: ['', '.js', '.jsx'] } };