How to add a js file with webpack?
问题 I was reading this webpack tutorial: https://webpack.github.io/docs/usage.html It says it bundles the src files and node_modules. If I want to add another .js file there, how can I do this? This is a thirdpartyjs file that is not part of the source and not part of the node_modules files. This is my current webpack.config.js: var path = require('path'); var webpack = require('webpack'); module.exports = { entry: [ 'react-hot-loader/patch', 'webpack-dev-server/client?http://localhost:8080',