Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit e0d0df4

Browse files
committed
Append the intended environment in the bundle filename
1 parent 7f89539 commit e0d0df4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/optimizely-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
"description": "JavaScript SDK for Optimizely X Full Stack",
99
"main": "lib/index.node.js",
10-
"module": "dist/optimizely.module.js",
10+
"module": "dist/optimizely.module.production.js",
1111
"react-native": "lib/index.react_native.js",
1212
"typings": "lib/index.d.ts",
1313
"scripts": {

packages/optimizely-sdk/rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default [
99
{
1010
input: 'lib/index.browser.js',
1111
output: {
12-
file: 'dist/optimizely.module.dev.js',
12+
file: 'dist/optimizely.module.development.js',
1313
format: 'es',
1414
sourcemap: true,
1515
},
@@ -22,7 +22,7 @@ export default [
2222
{
2323
input: 'lib/index.browser.js',
2424
output: {
25-
file: 'dist/optimizely.module.js',
25+
file: 'dist/optimizely.module.production.js',
2626
format: 'es',
2727
sourcemap: true,
2828
},

0 commit comments

Comments
 (0)