Spaces:
Runtime error
Runtime error
Download docs/plugins/tailwind-loader/index.js from HashScripts/Shorts: direct link, hf CLI and curl.
- Browser
- Download file 474 Bytes
-
https://huggingface.co/spaces/HashScripts/Shorts/resolve/12ed2c528dca00c024a664ab2d40c818134f4fe5/docs/plugins/tailwind-loader/index.js
- Command line
-
hf download hf://spaces/HashScripts/Shorts@12ed2c528dca00c024a664ab2d40c818134f4fe5/docs/plugins/tailwind-loader/index.js
-
curl -L -o index.js https://huggingface.co/spaces/HashScripts/Shorts/resolve/12ed2c528dca00c024a664ab2d40c818134f4fe5/docs/plugins/tailwind-loader/index.js
474 Bytes
| /* eslint-disable @typescript-eslint/no-var-requires */ | |
| module.exports = function () { | |
| return { | |
| name: 'postcss-tailwindcss-loader', | |
| configurePostCss(postcssOptions) { | |
| postcssOptions.plugins.push( | |
| require('postcss-import'), | |
| require('tailwindcss'), | |
| require('postcss-preset-env')({ | |
| autoprefixer: { | |
| flexbox: 'no-2009', | |
| }, | |
| stage: 4, | |
| }) | |
| ); | |
| return postcssOptions; | |
| }, | |
| }; | |
| }; | |