Download react-slick/webpack.config.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 781 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-slick/webpack.config.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-slick/webpack.config.js
-
curl -L -o webpack.config.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-slick/webpack.config.js
781 Bytes
| var webpack = require("webpack"); | |
| var path = require("path"); | |
| module.exports = { | |
| mode: "production", | |
| devtool: "source-map", | |
| entry: { | |
| "docs.js": "./docs/index.js" | |
| }, | |
| output: { | |
| path: path.join(__dirname, "build"), | |
| filename: "[name]" | |
| }, | |
| module: { | |
| rules: [ | |
| { | |
| test: /\.jsx?/, | |
| exclude: /(node_modules)/, | |
| use: { | |
| loader: "babel-loader" | |
| } | |
| }, | |
| { | |
| test: /\.md$/, | |
| loader: "html!markdown" | |
| } | |
| ] | |
| }, | |
| resolve: { | |
| extensions: [".js", ".jsx"], | |
| alias: { | |
| "react-slick": path.resolve(__dirname, "src/index.js") | |
| } | |
| }, | |
| plugins: [new webpack.IgnorePlugin(/vertx/)], | |
| devServer: { | |
| contentBase: path.join(__dirname, "./build"), | |
| port: 8080, | |
| hot: true | |
| } | |
| }; | |