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
Hello, I'm using the rollup plugin and I went to output the css file with a hash, I tried adding [hash] in fileName but it doesn't get replaced by a hash, can this feature be supported, if yes, how to do it (I can also implement it and make PR).
Many thanks.
importstylexPluginfrom'@stylexjs/rollup-plugin';constconfig={input: './index.js',output: {file: './.build/bundle.js',format: 'es',},// Ensure that the stylex plugin is used before Babelplugins: [stylexPlugin({// Required. File path for the generated CSS file.fileName: './.build/stylex.[hash].css',// default: falsedev: false,// prefix for all generated classNamesclassNamePrefix: 'x',// Required for CSS variable supportunstable_moduleResolution: {// type: 'commonJS' | 'haste'// default: 'commonJS'type: 'commonJS',// The absolute path to the root directory of your projectrootDir: __dirname,},})],};exportdefaultconfig;
The text was updated successfully, but these errors were encountered:
@yousoumar There's many other issues that are up for grabs if you're looking for something. It's been less than a week so I would like to give @oudmane more time.
Describe the feature request
Hello, I'm using the rollup plugin and I went to output the css file with a hash, I tried adding
[hash]
infileName
but it doesn't get replaced by a hash, can this feature be supported, if yes, how to do it (I can also implement it and make PR).Many thanks.
The text was updated successfully, but these errors were encountered: