rename folders to remove .gitignore confusion

pull/148/head
Rich Harris 8 years ago
parent bf1ef35387
commit bb9e48a309

2
.gitignore vendored

@ -2,6 +2,8 @@
node_modules node_modules
compiler compiler
ssr ssr
!test/compiler
!test/ssr
.nyc_output .nyc_output
coverage coverage
coverage.lcov coverage.lcov

@ -2,7 +2,7 @@ import nodeResolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs'; import commonjs from 'rollup-plugin-commonjs';
export default { export default {
entry: 'src/ssr/register.js', entry: 'src/server-side-rendering/register.js',
moduleName: 'svelte', moduleName: 'svelte',
targets: [ targets: [
{ dest: 'ssr/register.js', format: 'cjs' } { dest: 'ssr/register.js', format: 'cjs' }
@ -13,7 +13,7 @@ export default {
], ],
external: [ 'svelte', 'magic-string' ], external: [ 'svelte', 'magic-string' ],
paths: { paths: {
svelte: '../dist/svelte.js' svelte: '../compiler/svelte.js'
}, },
sourceMap: true sourceMap: true
}; };

@ -3,7 +3,7 @@
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var fs = require('fs'); var fs = require('fs');
var ___dist_svelte_js = require('../dist/svelte.js'); var ___compiler_svelte_js = require('../compiler/svelte.js');
var MagicString = require('magic-string'); var MagicString = require('magic-string');
var MagicString__default = _interopDefault(MagicString); var MagicString__default = _interopDefault(MagicString);
@ -135,8 +135,8 @@ function flatten ( node ) {
const voidElementNames = /^(?:area|base|br|col|command|doctype|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)$/i; const voidElementNames = /^(?:area|base|br|col|command|doctype|embed|hr|img|input|keygen|link|meta|param|source|track|wbr)$/i;
function compile ( source, filename ) { function compile ( source, filename ) {
const parsed = ___dist_svelte_js.parse( source, {} ); const parsed = ___compiler_svelte_js.parse( source, {} );
___dist_svelte_js.validate( parsed, source, {} ); ___compiler_svelte_js.validate( parsed, source, {} );
const code = new MagicString__default( source ); const code = new MagicString__default( source );

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 31 B

After

Width:  |  Height:  |  Size: 31 B

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save