Skip to content

Commit b239e29

Browse files
committed
Merge branch 'editor-modules' of github.com:CompuIves/codesandbox-client-private; branch 'master' of github.com:CompuIves/codesandbox-client
2 parents 4fd87e3 + c1fe2ff commit b239e29

File tree

3 files changed

+8
-13
lines changed

3 files changed

+8
-13
lines changed

Gulpfile.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,17 @@ gulp.task('homepage', () =>
2929
gulp.src('packages/homepage/public/**/*').pipe(gulp.dest('www'))
3030
);
3131

32+
gulp.task('monaco', () =>
33+
gulp
34+
.src('standalone-packages/monaco-editor/release/min/vs/**/*')
35+
.pipe(gulp.dest('www/public/13/vs'))
36+
);
37+
3238
gulp.task('statics', () =>
3339
gulp.src('packages/app/public/**/*').pipe(gulp.dest('www'))
3440
);
3541

36-
gulp.task('default', ['app', 'homepage', 'statics']);
42+
gulp.task('default', ['app', 'homepage', 'statics', 'monaco']);
3743

3844
gulp.task('clean-vscode', rimraf('standalone-packages/monaco-editor-core'));
3945

packages/app/config/webpack.common.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -442,23 +442,11 @@ module.exports = {
442442
// Make the monaco editor work
443443
new CopyWebpackPlugin(
444444
[
445-
// Our own custom version of monaco
446-
{
447-
from: __DEV__
448-
? '../../standalone-packages/monaco-editor/release/dev/vs'
449-
: '../../standalone-packages/monaco-editor/release/min/vs',
450-
to: 'public/13/vs',
451-
force: true,
452-
},
453445
{
454446
from: '../../standalone-packages/vscode-editor/release/min/vs',
455447
to: 'public/vscode1/vs',
456448
force: true,
457449
},
458-
__PROD__ && {
459-
from: '../../node_modules/monaco-editor/min-maps',
460-
to: 'public/min-maps',
461-
},
462450
{
463451
from: '../../node_modules/onigasm/lib/onigasm.wasm',
464452
to: 'public/onigasm/2.2.1/onigasm.wasm',

packages/app/src/app/pages/Patron/PricingModal/PricingChoice/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ function PricingChoice({ store, signals, badge }) {
3939
signals.patron.priceChanged({ price: Number(event.target.value) })
4040
}
4141
value={store.patron.price}
42+
min={5}
4243
type="number"
4344
/>
4445
<Month>/month</Month>

0 commit comments

Comments
 (0)