Skip to content

Commit

Permalink
feat: enable testing and design ages by default
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed May 13, 2021
1 parent 81c1a00 commit c9c31cd
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 21 deletions.
4 changes: 3 additions & 1 deletion core/core/src/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,9 @@ export const defaultBuildConfig: BuildConfiguration = {
collapseSingle: true,
},
tabs: {
page: require.resolve('@component-controls/pages/ClassicPage'),
page: '@component-controls/pages/ClassicPage',
test: '@component-controls/pages/TestingPage',
design: '@component-controls/pages/DesignPage',
},
},
blog: {
Expand Down
5 changes: 0 additions & 5 deletions examples/gatsby/.config/buildtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ const config: BuildConfiguration = {
pages: {
story: {
basePath: 'api/',
tabs: {
page: '@component-controls/pages/ClassicPage',
test: '@component-controls/pages/TestingPage',
design: '@component-controls/pages/DesignPage',
},
},
tutorial: {
basePath: 'tutorial/',
Expand Down
5 changes: 0 additions & 5 deletions examples/nextjs/.config/buildtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ module.exports = {
pages: {
story: {
basePath: 'api/',
tabs: {
page: '@component-controls/pages/ClassicPage',
test: '@component-controls/pages/TestingPage',
design: '@component-controls/pages/DesignPage',
},
},
tutorial: {
basePath: 'tutorial/',
Expand Down
5 changes: 0 additions & 5 deletions examples/react-webpack-5/.config/buildtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ module.exports = {
pages: {
story: {
basePath: 'api/',
tabs: {
page: '@component-controls/pages/ClassicPage',
test: '@component-controls/pages/TestingPage',
design: '@component-controls/pages/DesignPage',
},
},
tutorial: {
basePath: 'tutorial/',
Expand Down
5 changes: 0 additions & 5 deletions examples/react-webpack/.config/buildtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ module.exports = {
pages: {
story: {
basePath: 'api/',
tabs: {
page: '@component-controls/pages/ClassicPage',
test: '@component-controls/pages/TestingPage',
design: '@component-controls/pages/DesignPage',
},
},
tutorial: {
basePath: 'tutorial/',
Expand Down

0 comments on commit c9c31cd

Please sign in to comment.