webpack.aboutlibrary.config.js 365 B

1234567891011
  1. const path = require("path");
  2. const config = require("./webpack.system-addon.config.js");
  3. const absolute = relPath => path.join(__dirname, relPath);
  4. module.exports = Object.assign({}, config(), {
  5. entry: absolute("content-src/aboutlibrary/aboutlibrary.jsx"),
  6. output: {
  7. path: absolute("aboutlibrary/content"),
  8. filename: "aboutlibrary.bundle.js",
  9. },
  10. });