You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// standalone-cli/standalone.js// These are present to allow them to be specified in the PostCSS config fileautoprefixer: require('autoprefixer'),tailwindcss: require('tailwindcss'),// Looking to add:'tailwindcss/nesting': require('postcss-nested'),'postcss-import': require('postcss-import'),
The following output occurs when running npm run build (with and without modifications):
> pkg . --compress Brotli --no-bytecode --public-packages "*" --public
>[email protected]
compression: Brotli
> Warning Cannot resolve 'id'
/Users/exponent/code/tailwindcss/standalone-cli/standalone.js
Dynamic require may fail at run time, because the requested file
is unknown at compilation time and not included into executable.
Use a string literal as an argument for'require', or leave it
as is and specify the resolved file name in'scripts' option.
> Warning Cannot resolve 'file'
/Users/exponent/code/tailwindcss/lib/cli/build/plugin.js
Dynamic require may fail at run time, because the requested file
is unknown at compilation time and not included into executable.
Use a string literal as an argument for'require', or leave it
as is and specify the resolved file name in'scripts' option.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
standalone.js
The following output occurs when running
npm run build
(with and without modifications):Thanks
Beta Was this translation helpful? Give feedback.
All reactions