Skip to content

Commit dd2d598

Browse files
authored
Copy browserslist into prod website build (#5196)
1 parent 94687c5 commit dd2d598

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/buildWebsite.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ async function build() {
113113
fs.copySync(path.join(__dirname, '..', 'postcss.config.js'), path.join(dir, 'postcss.config.js'));
114114
fs.copySync(path.join(__dirname, '..', 'lib'), path.join(dir, 'lib'));
115115
fs.copySync(path.join(__dirname, '..', 'CONTRIBUTING.md'), path.join(dir, 'CONTRIBUTING.md'));
116+
fs.copySync(path.join(__dirname, '..', '.browserslistrc'), path.join(dir, '.browserslistrc'));
116117

117118
// Delete mdx files from dev/docs that shouldn't go out yet.
118119
let devPkg = JSON.parse(fs.readFileSync(path.join(dir, 'packages/dev/docs/package.json'), 'utf8'));

0 commit comments

Comments
 (0)