Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- = javascript_include_tag :matrix
- require("./vector/index") // points to app/assets/javascript/vector/index.js
- app/assets/javascripts/vector/index.js: Unexpected token (206:6)
- 204 | }
- 205 |
- > 206 | async function loadApp() {
- class Application < Rails::Application
- config.browserify_rails.commandline_options = "-t [ babelify --presets [ es2015 ] ]"
- end
- {
- "name": "Diaspora",
- "dependencies": {
- "babel-polyfill": "^6.5.0",
- "babel-preset-es2015": "^6.1.18",
- "babel-runtime": "^6.9.2",
- "babelify": "^7.2.0",
- "browser-request": "^0.3.3",
- "browserify": "~10.2.4",
- "browserify-incremental": "^3.0.1"
- // More files
- },
- "license": "MIT",
- "engines": {
- "node": ">= 0.10"
- },
- "browserify": {
- "transform": [["babelify", { "presets": ["es2015"] }]]
- },
- "devDependencies": {
- "babel-plugin-transform-runtime": "^6.9.0"
- }
- }
- gem "rails", "4.2.6"
- gem "browserify-rails", "1.1.0"
- {
- "presets": ["es2015"],
- "plugins": [
- ["transform-runtime", {
- "polyfill": false,
- "regenerator": true
- }]
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement