You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{devtool: 'source-map',output: {path: config.paths.dist,libraryTarget: 'umd',library: config.library},entry: config.paths.src,externals: {react: 'react'// Use more complicated mapping for lodash.// We need to access it differently depending// on the environment.lodash: {commonjs: 'lodash',commonjs2: 'lodash',amd: '_',root: '_'}},}}
The text was updated successfully, but these errors were encountered:
Figuring out how to include Lodash as a dependency in my library tripped me up quite a bit. I finally found guidance from http://survivejs.com/webpack_react/authoring_libraries/:
The text was updated successfully, but these errors were encountered: