Transpile arrow function for ie11 compatibility
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
6e91329872
commit
1a68e211a3
|
@ -0,0 +1,12 @@
|
||||||
|
module.exports = {
|
||||||
|
presets: [
|
||||||
|
[
|
||||||
|
'@babel/preset-env',
|
||||||
|
{
|
||||||
|
targets: {
|
||||||
|
browsers: ['last 2 versions', 'ie >= 11']
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
]
|
||||||
|
}
|
|
@ -249,5 +249,5 @@ var r="undefined"!=typeof window&&"undefined"!=typeof document,i=["Edge","Triden
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* You should have received a copy of the GNU Affero General Public License
|
||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*
|
*
|
||||||
*/o.a.mixin({methods:{t:function(t,e,n,r,i){return OC.L10N.translate(t,e,n,r,i)},n:function(t,e,n,r,i,o){return OC.L10N.translatePlural(t,e,n,r,i,o)}}});new o.a({render:t=>t(p)}).$mount("#updatenotification")}]);
|
*/o.a.mixin({methods:{t:function(t,e,n,r,i){return OC.L10N.translate(t,e,n,r,i)},n:function(t,e,n,r,i,o){return OC.L10N.translatePlural(t,e,n,r,i,o)}}});new o.a({render:function(t){return t(p)}}).$mount("#updatenotification")}]);
|
||||||
//# sourceMappingURL=updatenotification.js.map
|
//# sourceMappingURL=updatenotification.js.map
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
|
@ -29,6 +29,9 @@
|
||||||
"vue-click-outside": "^1.0.7"
|
"vue-click-outside": "^1.0.7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@babel/core": "^7.2.0",
|
||||||
|
"@babel/preset-env": "^7.2.0",
|
||||||
|
"babel-loader": "^8.0.4",
|
||||||
"css-loader": "^2.0.0",
|
"css-loader": "^2.0.0",
|
||||||
"file-loader": "^1.1.11",
|
"file-loader": "^1.1.11",
|
||||||
"vue-loader": "^15.4.2",
|
"vue-loader": "^15.4.2",
|
||||||
|
|
|
@ -1,25 +1,28 @@
|
||||||
const path = require('path')
|
const path = require('path');
|
||||||
const { VueLoaderPlugin } = require('vue-loader');
|
const { VueLoaderPlugin } = require('vue-loader');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
entry: path.join(__dirname, 'src', 'init.js'),
|
entry: path.join(__dirname, 'src', 'init.js'),
|
||||||
output: {
|
output: {
|
||||||
path: path.resolve(__dirname, './js'),
|
path: path.resolve(__dirname, './js'),
|
||||||
publicPath: '/js/',
|
publicPath: '/js/',
|
||||||
filename: 'updatenotification.js'
|
filename: 'updatenotification.js'
|
||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
test: /\.vue$/,
|
test: /\.vue$/,
|
||||||
loader: 'vue-loader',
|
loader: 'vue-loader'
|
||||||
}
|
},
|
||||||
]
|
{
|
||||||
},
|
test: /\.js$/,
|
||||||
plugins: [
|
loader: 'babel-loader',
|
||||||
new VueLoaderPlugin()
|
exclude: /node_modules/
|
||||||
],
|
}
|
||||||
resolve: {
|
]
|
||||||
extensions: ['*', '.js', '.vue', '.json']
|
},
|
||||||
}
|
plugins: [new VueLoaderPlugin()],
|
||||||
}
|
resolve: {
|
||||||
|
extensions: ['*', '.js', '.vue', '.json']
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
Loading…
Reference in New Issue