added copy-to-clipboard directive that does not require Flash

This commit is contained in:
alecmerdler 2017-05-24 21:42:06 -07:00
parent 6ed5235dfd
commit 062c1a1626
13 changed files with 186 additions and 74 deletions

View file

@ -22,9 +22,7 @@ var config = {
rules: [
{
test: /\.tsx?$/,
use: [
"ts-loader",
],
use: ["ts-loader"],
exclude: /node_modules/
},
{
@ -41,13 +39,12 @@ var config = {
'ngtemplate-loader?relativeTo=' + (path.resolve(__dirname)),
'html-loader',
]
}
},
]
},
plugins: [
// Replace references to global variables with associated modules
new webpack.ProvidePlugin({
ZeroClipboard: 'zeroclipboard',
FileSaver: 'file-saver',
angular: "angular",
$: "jquery",