Skip to content

Commit

Permalink
fix: Buffer not defined for browser bundles, fixes #197
Browse files Browse the repository at this point in the history
  • Loading branch information
harttle committed Mar 4, 2020
1 parent 607a5cd commit 65b849c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rollup.config.ts
Expand Up @@ -50,7 +50,7 @@ const esm = {
'./fs/node': './fs/browser'
}),
replace({
include: './src/parser/tokenizer.ts',
include: './src/parser/token.ts',
delimiters: ['', ''],
'./flatten/node': './flatten/browser'
}),
Expand Down Expand Up @@ -84,7 +84,7 @@ const umd = {
'./fs/node': './fs/browser'
}),
replace({
include: './src/parser/tokenizer.ts',
include: './src/parser/token.ts',
delimiters: ['', ''],
'./flatten/node': './flatten/browser'
}),
Expand Down Expand Up @@ -117,7 +117,7 @@ const min = {
'./fs/node': './fs/browser'
}),
replace({
include: './src/parser/tokenizer.ts',
include: './src/parser/token.ts',
delimiters: ['', ''],
'./flatten/node': './flatten/browser'
}),
Expand Down

0 comments on commit 65b849c

Please sign in to comment.