-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restructure frontend code as monorepo.
- Loading branch information
Showing
33 changed files
with
238,426 additions
and
36,674 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "@webio/blink-provider", | ||
"description": "Blink provider for WebIO.", | ||
"repository": "https://github.com/JuliaGizmos/WebIO.jl", | ||
"author": "Shashi Gowda", | ||
"license": "MIT", | ||
"dependencies": { | ||
"@webio/webio": "1.0.0" | ||
}, | ||
"scripts": { | ||
"build": "webpack-cli" | ||
}, | ||
"devDependencies": { | ||
"webpack-cli": "^3.1.2" | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
packages/webio/src/providers/blink.ts → packages/blink-provider/src/blink.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
const path = require('path'); | ||
const merge = require('webpack-merge'); | ||
const baseConfig = require('../webpack.config.js'); | ||
|
||
module.exports = merge(baseConfig, { | ||
context: path.resolve(__dirname, "src"), | ||
entry: { | ||
"blink": ["@babel/polyfill/noConflict", "blink.ts"], | ||
}, | ||
output: { | ||
path: path.resolve(__dirname, 'dist/'), | ||
filename: '[name].js', | ||
}, | ||
|
||
resolve: { | ||
extensions: ['.js', '.ts'], | ||
modules: [path.resolve(__dirname, "src"), "node_modules"], | ||
alias: { | ||
"systemjs": "systemjs/dist/system", | ||
} | ||
}, | ||
|
||
externals: { | ||
"base/js/namespace": "base/js/namespace", | ||
"notebook/js/outputarea": "notebook/js/outputarea", | ||
"jquery": "jquery", | ||
} | ||
}); |
Oops, something went wrong.