added copy-to-clipboard directive that does not require Flash
This commit is contained in:
parent
6ed5235dfd
commit
062c1a1626
13 changed files with 186 additions and 74 deletions
|
@ -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",
|
||||
|
|
Reference in a new issue