Skip to content

Commit e350435

Browse files
committed
Moving index.ts under src/
1 parent bfd7904 commit e350435

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

packages-exp/performance-exp/rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const es5BuildPlugins = [typescriptPlugin({ typescript }), json()];
3131

3232
const es5Builds = [
3333
{
34-
input: 'index.ts',
34+
input: 'src/index.ts',
3535
output: [
3636
{ file: pkg.main, format: 'cjs', sourcemap: true },
3737
{ file: pkg.module, format: 'es', sourcemap: true }
@@ -59,7 +59,7 @@ const es2017BuildPlugins = [
5959

6060
const es2017Builds = [
6161
{
62-
input: 'index.ts',
62+
input: 'src/index.ts',
6363
output: [{ file: pkg.esm2017, format: 'es', sourcemap: true }],
6464
plugins: es2017BuildPlugins,
6565
external: id => deps.some(dep => id === dep || id.startsWith(`${dep}/`))

packages-exp/performance-exp/index.ts renamed to packages-exp/performance-exp/src/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
import { FirebaseApp } from '@firebase/app-types-exp';
1919
import { FirebasePerformance } from '@firebase/performance-types-exp';
20-
import { ERROR_FACTORY, ErrorCode } from './src/utils/errors';
21-
import { setupApi } from './src/services/api_service';
22-
import { PerformanceController } from './src/controllers/perf';
20+
import { ERROR_FACTORY, ErrorCode } from './utils/errors';
21+
import { setupApi } from './services/api_service';
22+
import { PerformanceController } from './controllers/perf';
2323
import {
2424
_registerComponent,
2525
_getProvider,
@@ -31,8 +31,8 @@ import {
3131
Component,
3232
ComponentType
3333
} from '@firebase/component';
34-
import { SettingsService } from './src/services/settings_service';
35-
import { name, version } from './package.json';
34+
import { SettingsService } from './services/settings_service';
35+
import { name, version } from '../package.json';
3636

3737
const DEFAULT_ENTRY_NAME = '[DEFAULT]';
3838

0 commit comments

Comments
 (0)