Skip to content

Replace npmcdn.com with unpkg.com #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion js/src/embed.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Entry point for the npmcdn bundle containing custom model definitions.
// Entry point for the unpkg bundle containing custom model definitions.
//
// It differs from the notebook bundle in that it does not need to define a
// dynamic baseURL for the static assets and may load some css that would
Expand Down
4 changes: 2 additions & 2 deletions js/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module.exports = [
// The only difference is in the configuration of the webpack public path
// for the static assets.
//
// It will be automatically distributed by npmcdn to work with the static
// It will be automatically distributed by unpkg to work with the static
// widget embedder.
//
// The target bundle is always `dist/index.js`, which is the path required
Expand All @@ -60,7 +60,7 @@ module.exports = [
filename: 'index.js',
path: './dist/',
libraryTarget: 'amd',
publicPath: 'https://npmcdn.com/p55py@' + version + '/dist/'
publicPath: 'https://unpkg.com/p55py@' + version + '/dist/'
},
devtool: 'source-map',
module: {
Expand Down