Spaces:
Running
Running
Download node_modules/@k-l-lambda/web-editor/webpack.config.js from k-l-lambda/lotus: direct link, hf CLI and curl.
- Browser
- Download file 367 Bytes
-
https://huggingface.co/spaces/k-l-lambda/lotus/resolve/main/node_modules/%40k-l-lambda/web-editor/webpack.config.js
- Command line
-
hf download hf://spaces/k-l-lambda/lotus/node_modules/@k-l-lambda/web-editor/webpack.config.js
-
curl -L -o webpack.config.js https://huggingface.co/spaces/k-l-lambda/lotus/resolve/main/node_modules/%40k-l-lambda/web-editor/webpack.config.js
367 Bytes
| const path = require("path"); | |
| const EsmWebpackPlugin = require("@purtuga/esm-webpack-plugin"); | |
| module.exports = { | |
| entry: { | |
| index: "./lib.browser/index.frontend.js", | |
| }, | |
| output: { | |
| path: path.join(__dirname, "app/lib"), | |
| filename: "[name].mjs", | |
| library: "LIB", | |
| libraryTarget: "var", | |
| }, | |
| plugins: [ | |
| new EsmWebpackPlugin(), | |
| ], | |
| mode: "development", | |
| }; | |