Download react-color/scripts/docs-dist.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 399 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-color/scripts/docs-dist.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-color/scripts/docs-dist.js
-
curl -L -o docs-dist.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/react-color/scripts/docs-dist.js
399 Bytes
| var webpack = require('webpack') | |
| var webpackConfig = require('../webpack.config.js') | |
| let build = Object.create(webpackConfig) | |
| build.plugins = [ | |
| new webpack.DefinePlugin({ | |
| 'process.env': { | |
| NODE_ENV: JSON.stringify('production'), | |
| }, | |
| }), | |
| new webpack.optimize.DedupePlugin(), | |
| ] | |
| webpack(build, (err, stats) => { | |
| if (err) throw new Error('webpack-dev-server', err) | |
| }) | |