如何使用grunt使tinymce在开发和远程环境中工作?

我与咕噜和凉亭包pipe理beaginer。 我使用tinymce软件包为我的应用程序,当我使用grunt服务evrything正常工作,并且当我使用grunt服务:dist,资源pipe理器searchtinymce插件不正确的path,而铬和mozilafind插件。

我想也许我需要点tinypce的插件url相关的path,但它是不可能在constract到theme_url和微小mce的其他属性。

我能做什么? 我不想复制所有的tinymce dist。

在Gruntfile.js中

// Copies remaining files to places other tasks can use copy: { dist: { files: [{ expand: true, dot: true, cwd: '<%= yeoman.app %>', dest: '<%= yeoman.dist %>', src: [ '*.{ico,png,txt}', '.htaccess', '*.html', 'modules/**/*.html', 'images/{,*/}*.*', 'styles/fonts/{,*/}*.*' ] }, { expand: true, cwd: '.tmp/images', dest: '<%= yeoman.dist %>/images', src: ['generated/*'] }, { expand: true, cwd: 'bower_components/bootstrap-sass-official/assets/fonts/bootstrap/', src: '*', dest: '<%= yeoman.dist %>/fonts' }, { expand: true, cwd: 'bower_components/tinymce-dist/themes/modern/', src: ['**'], dest: '<%= yeoman.dist %>/core/themes/modern/' }, { expand: true, cwd: 'bower_components/tinymce-dist/skins/', src: ['**'], dest: '<%= yeoman.dist %>/core/skins/' }, { expand: true, cwd: 'bower_components/tinymce-dist/plugins/link/', src: ['**'], dest: '<%= yeoman.dist %>/core/plugins/link/' }, { expand: true, cwd: 'bower_components/font-awesome/fonts/', src: '*', dest: '<%= yeoman.dist %>/fonts' }] }, styles: { expand: true, cwd: '<%= yeoman.app %>/modules', dest: '.tmp/styles/', src: '{,*/}*.css' } },