Use CommonJS for NPM package
PiperOrigin-RevId: 487902199
This commit is contained in:
parent
20a6f15f18
commit
c7030ac7fa
|
@ -31,6 +31,7 @@ rollup_bundle(
|
||||||
name = "audio_bundle",
|
name = "audio_bundle",
|
||||||
config_file = "rollup.config.mjs",
|
config_file = "rollup.config.mjs",
|
||||||
entry_point = "audio.ts",
|
entry_point = "audio.ts",
|
||||||
|
format = "cjs",
|
||||||
output_dir = False,
|
output_dir = False,
|
||||||
deps = [
|
deps = [
|
||||||
":audio_lib",
|
":audio_lib",
|
||||||
|
@ -67,6 +68,7 @@ rollup_bundle(
|
||||||
name = "text_bundle",
|
name = "text_bundle",
|
||||||
config_file = "rollup.config.mjs",
|
config_file = "rollup.config.mjs",
|
||||||
entry_point = "text.ts",
|
entry_point = "text.ts",
|
||||||
|
format = "cjs",
|
||||||
output_dir = False,
|
output_dir = False,
|
||||||
deps = [
|
deps = [
|
||||||
":text_lib",
|
":text_lib",
|
||||||
|
@ -103,6 +105,7 @@ rollup_bundle(
|
||||||
name = "vision_bundle",
|
name = "vision_bundle",
|
||||||
config_file = "rollup.config.mjs",
|
config_file = "rollup.config.mjs",
|
||||||
entry_point = "vision.ts",
|
entry_point = "vision.ts",
|
||||||
|
format = "cjs",
|
||||||
output_dir = False,
|
output_dir = False,
|
||||||
deps = [
|
deps = [
|
||||||
":vision_lib",
|
":vision_lib",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user