Guest User

Untitled

a guest
May 22nd, 2018
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. SCRIPT1028: Expected identifier, string or number
  2. File: build.js, Line: 828, Column: 7
  3.  
  4. ...
  5. "use strict";
  6. /*
  7. * SSR Safe Client Side ID attribute generation
  8. *
  9. */
  10.  
  11. /* harmony default export */ __webpack_exports__["a"] = ({
  12. props: {
  13. id: {
  14. type: String,
  15. default: null // This is the line of the error
  16. }
  17. },
  18. methods: {
  19. safeId: function safeId() {
  20. var suffix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
  21.  
  22. var id = this.id || this.localId_ || null;
  23. if (!id) {
  24. return null;
  25. }
  26. suffix = String(suffix).replace(/s+/g, '_');
  27. return suffix ? id + '_' + suffix : id;
  28. }
  29. },
  30. computed: {
  31. localId_: function localId_() {
  32. if (!this.$isServer && !this.id && typeof this._uid !== 'undefined') {
  33. return '__BVID__' + this._uid;
  34. }
  35. }
  36. }
  37. });
  38. ...
  39.  
  40. var path = require('path')
  41. var webpack = require('webpack')
  42.  
  43. module.exports = {
  44. entry: {
  45. app: ['babel-polyfill','./src/main.js']
  46. },
  47. ...
  48.  
  49. import 'es6-promise/auto'
Add Comment
Please, Sign In to add comment