Merge pull request #13070 from nextcloud/ie11-compatibility-updatenotifications
Ie11 compatibility updatenotifications
This commit is contained in:
commit
2654a1949e
6 changed files with 1264 additions and 31 deletions
12
apps/updatenotification/.babelrc.js
Normal file
12
apps/updatenotification/.babelrc.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
module.exports = {
|
||||
presets: [
|
||||
[
|
||||
'@babel/preset-env',
|
||||
{
|
||||
targets: {
|
||||
browsers: ['last 2 versions', 'ie >= 11']
|
||||
}
|
||||
}
|
||||
]
|
||||
]
|
||||
}
|
Binary file not shown.
Binary file not shown.
1233
apps/updatenotification/package-lock.json
generated
1233
apps/updatenotification/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -29,6 +29,9 @@
|
|||
"vue-click-outside": "^1.0.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.2.0",
|
||||
"@babel/preset-env": "^7.2.0",
|
||||
"babel-loader": "^8.0.4",
|
||||
"css-loader": "^2.0.0",
|
||||
"file-loader": "^1.1.11",
|
||||
"vue-loader": "^15.4.2",
|
||||
|
|
|
@ -1,25 +1,28 @@
|
|||
const path = require('path')
|
||||
const path = require('path');
|
||||
const { VueLoaderPlugin } = require('vue-loader');
|
||||
|
||||
module.exports = {
|
||||
entry: path.join(__dirname, 'src', 'init.js'),
|
||||
output: {
|
||||
path: path.resolve(__dirname, './js'),
|
||||
publicPath: '/js/',
|
||||
filename: 'updatenotification.js'
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.vue$/,
|
||||
loader: 'vue-loader',
|
||||
}
|
||||
]
|
||||
},
|
||||
plugins: [
|
||||
new VueLoaderPlugin()
|
||||
],
|
||||
resolve: {
|
||||
extensions: ['*', '.js', '.vue', '.json']
|
||||
}
|
||||
}
|
||||
entry: path.join(__dirname, 'src', 'init.js'),
|
||||
output: {
|
||||
path: path.resolve(__dirname, './js'),
|
||||
publicPath: '/js/',
|
||||
filename: 'updatenotification.js'
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.vue$/,
|
||||
loader: 'vue-loader'
|
||||
},
|
||||
{
|
||||
test: /\.js$/,
|
||||
loader: 'babel-loader',
|
||||
exclude: /node_modules/
|
||||
}
|
||||
]
|
||||
},
|
||||
plugins: [new VueLoaderPlugin()],
|
||||
resolve: {
|
||||
extensions: ['*', '.js', '.vue', '.json']
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue