Download react-query/integrations/react-webpack-4/webpack.config.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 501 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/integrations/react-webpack-4/webpack.config.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/integrations/react-webpack-4/webpack.config.js
-
curl -L -o webpack.config.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-query/integrations/react-webpack-4/webpack.config.js
501 Bytes
| const HtmlWebPackPlugin = require('html-webpack-plugin') | |
| const htmlPlugin = new HtmlWebPackPlugin({ | |
| template: './public/index.html', | |
| filename: './index.html', | |
| }) | |
| module.exports = { | |
| module: { | |
| rules: [ | |
| { | |
| test: /\.(?:js|mjs|cjs|jsx)$/, | |
| exclude: /node_modules/, | |
| use: { | |
| loader: 'babel-loader', | |
| options: { | |
| presets: ['@babel/preset-env', '@babel/preset-react'], | |
| }, | |
| }, | |
| }, | |
| ], | |
| }, | |
| plugins: [htmlPlugin], | |
| } | |