File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
packages/common/templates Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change 11// @flow
2+ import configurations from './configuration' ;
3+
24import Template from './template' ;
35import { decorateSelector } from '../theme' ;
46
7+ const extendedSandboxConfig = {
8+ ...configurations . sandboxConfig ,
9+ getDefaultCode : ( ) =>
10+ JSON . stringify (
11+ {
12+ container : {
13+ port : 3000 ,
14+ } ,
15+ } ,
16+ null ,
17+ 2
18+ ) ,
19+ } ;
20+
521export default new Template (
622 'sapper' ,
723 'Sapper' ,
824 'https://sapper.svelte.technology/' ,
9- 'sapper' ,
25+ 'github/sveltejs/ sapper-template ' ,
1026 decorateSelector ( ( ) => '#105E10' ) ,
1127 {
28+ extraConfigurations : {
29+ '/sandbox.config.json' : extendedSandboxConfig ,
30+ } ,
1231 isServer : true ,
1332 mainFile : [ '/src/routes/index.html' ] ,
1433 showOnHomePage : false ,
You can’t perform that action at this time.
0 commit comments