Skip to content

Commit

Permalink
Update shared runtime sample to use GA endpoint (#91)
Browse files Browse the repository at this point in the history
* Switch from beta to GA endpoint

* remove certs as consumer must generate

* functions.html not needed for shared runtime

* fix declaration of g warning

* npm audit fix

* added functions chunk to webpack to load functions.js

* restore customfunction.associate calls for now
  • Loading branch information
davidchesnut committed Sep 17, 2020
1 parent e8f6e89 commit 235e58a
Show file tree
Hide file tree
Showing 12 changed files with 1,601 additions and 728 deletions.
1 change: 1 addition & 0 deletions Samples/excel-shared-runtime-scenario/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,6 @@ packages/**
typings/**
.vscode/**
.awcache/**
certs/**

dist/**
23 changes: 0 additions & 23 deletions Samples/excel-shared-runtime-scenario/certs/ca.crt

This file was deleted.

21 changes: 0 additions & 21 deletions Samples/excel-shared-runtime-scenario/certs/server.crt

This file was deleted.

27 changes: 0 additions & 27 deletions Samples/excel-shared-runtime-scenario/certs/server.key

This file was deleted.

24 changes: 11 additions & 13 deletions Samples/excel-shared-runtime-scenario/config/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,24 +123,22 @@ module.exports = {
output: "functions.json",
input: "./src/functions/functions.ts"
}),
new HtmlWebpackPlugin({
title: 'Office-Add-in-Microsoft-Graph-React',
filename: './functions/functions.html',
template: './functions/functions.html',
chunks: ['functions']
}),
new HtmlWebpackPlugin({
title: 'Office-Add-in-Microsoft-Graph-React',
filename: 'login/connect.html',
template: '../login/connect.html',
chunks: ['connect']
}),
new CopyWebpackPlugin([
{
from: '../assets',
ignore: ['*.scss'],
to: 'assets',
}
])
new CopyWebpackPlugin({
patterns: [
{
from: '../assets',
globOptions: {
ignore: ['*.scss']
},
to: 'assets'
},
],
}),
]
};

0 comments on commit 235e58a

Please sign in to comment.