Skip to content

Commit f902c97

Browse files
[fixed] demos server
Summary: Pundle apparently doesn't resolve ES modules, so it's using CommonJS. Rollup needs ES modules, so they are what the main `tsconfig` generates. Reviewers: O2 Material Motion, O3 Material JavaScript platform reviewers, #material_motion Tags: #material_motion Differential Revision: http://codereview.cc/D3507
1 parent d9a4471 commit f902c97

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

packages/demos-react/.pundle.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ module.exports = {
4646
compilerOptions: Object.assign(
4747
{},
4848
mainTSConfig.compilerOptions,
49-
tsConfig.compilerOptions
49+
tsConfig.compilerOptions,
50+
{
51+
module: 'commonjs',
52+
}
5053
)
5154
}
5255
}

0 commit comments

Comments
 (0)